Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
shrinktofit committed Sep 15, 2023
1 parent 87c38fe commit 44e6676
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ module.exports = {
testRegex: '/tests/.*\\.(test|spec)?\\.(ts|tsx)$',
moduleNameMapper: {
...pathsToModuleNameMapper(compilerOptions.paths, { prefix: `${__dirname}/` }),
'@pal/utils': '<rootDir>/pal/utils.ts',
'external:(.*)': '<rootDir>/native/external/$1',
},
transformIgnorePatterns: [
Expand Down
4 changes: 2 additions & 2 deletions tests/utils/pal-wasm-testing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
THE SOFTWARE.
*/

import { checkPalIntegrity, withImpl } from '@pal/utils';
import { checkPalIntegrity, withImpl } from '../../pal/integrity-check';
import { join } from 'node:path';
import { readFileSync } from 'node:fs';

Expand Down Expand Up @@ -50,4 +50,4 @@ export async function ensureWasmModuleReady() {
return Promise.resolve();
}

checkPalIntegrity<typeof import('pal/wasm')>(withImpl<typeof import('./pal-wasm-testing')>());
checkPalIntegrity<typeof import('@pal/wasm')>(withImpl<typeof import('./pal-wasm-testing')>());

0 comments on commit 44e6676

Please sign in to comment.