Skip to content

Commit

Permalink
feat(enhanced): commonjs runtime load
Browse files Browse the repository at this point in the history
  • Loading branch information
ScriptedAlchemy committed Dec 31, 2024
1 parent 99e5958 commit 48c2617
Show file tree
Hide file tree
Showing 301 changed files with 510 additions and 4,044 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"commit": "cz",
"docs": "typedoc",
"f": "nx format:write",
"enhanced:jest": "pnpm build && cd packages/enhanced && NODE_OPTIONS=--experimental-vm-modules npx jest",
"lint": "nx run-many --target=lint",
"test": "nx run-many --target=test",
"build": "nx run-many --target=build --parallel=5 --projects=tag:type:pkg",
Expand Down
7 changes: 6 additions & 1 deletion packages/enhanced/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,12 @@ export default {
moduleFileExtensions: ['ts', 'js', 'html'],
coverageDirectory: '../../coverage/packages/enhanced',
rootDir: __dirname,
testMatch: ['<rootDir>/test/*.basictest.js'],
testMatch: [
'<rootDir>/test/*.basictest.js',
'<rootDir>/src/**/*.spec.ts',
'<rootDir>/test/**/*.spec.ts',
'<rootDir>/src/**/*.test.ts',
],

testEnvironment: path.resolve(__dirname, './test/patch-node-env.js'),
setupFilesAfterEnv: ['<rootDir>/test/setupTestFramework.js'],
Expand Down
Loading

0 comments on commit 48c2617

Please sign in to comment.