mirror of
https://github.com/selfxyz/self.git
synced 2026-02-19 02:24:25 -05:00
Update mobile sdk test config to fix test running (#1635)
* fix mobile sdk tests * fix mobile sdk tests
This commit is contained in:
@@ -11,13 +11,11 @@ export default defineConfig({
|
||||
setupFiles: ['./tests/setup.ts'],
|
||||
include: ['tests/**/*.test.{ts,tsx}', 'src/**/*.test.{ts,tsx}'],
|
||||
exclude: ['node_modules/**'],
|
||||
},
|
||||
resolve: {
|
||||
conditions: ['import', 'module', 'browser', 'default'],
|
||||
},
|
||||
server: {
|
||||
deps: {
|
||||
inline: ['blakejs', '@zk-kit/eddsa-poseidon'],
|
||||
server: {
|
||||
deps: {
|
||||
// Inline these CommonJS modules to transform them for ESM compatibility
|
||||
inline: ['blakejs', '@zk-kit/eddsa-poseidon', '@selfxyz/common'],
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user