|
142 | 142 | "check:search-indexes": "nyc mocha --config test/mocha_mongodb.js test/manual/search-index-management.prose.test.ts", |
143 | 143 | "check:test": "mocha --config test/mocha_mongodb.js test/integration", |
144 | 144 | "check:unit": "nyc mocha test/unit", |
145 | | - "check:unit-bundled": "npm run switch:to-bundled && npm run check:unit || npm run switch:to-unbundled", |
| 145 | + "check:unit-bundled": "npm run build:bundle && npm run switch:to-bundled && npm run check:unit ; npm run switch:to-unbundled", |
146 | 146 | "check:ts": "node ./node_modules/typescript/bin/tsc -v && node ./node_modules/typescript/bin/tsc --noEmit", |
147 | 147 | "check:atlas": "nyc mocha --config test/manual/mocharc.js test/manual/atlas_connectivity.test.ts", |
148 | 148 | "check:drivers-atlas-testing": "nyc mocha --config test/mocha_mongodb.js test/atlas/drivers_atlas_testing.test.ts", |
|
157 | 157 | "check:snappy": "nyc mocha test/unit/assorted/snappy.test.js", |
158 | 158 | "check:x509": "nyc mocha test/manual/x509_auth.test.ts", |
159 | 159 | "check:runtime-independence": "ts-node test/tools/runner/vm_context_helper.ts test/integration/change-streams/change_stream.test.ts", |
160 | | - "check:test-bundled": "npm run switch:to-bundled && npm run check:test || npm run switch:to-unbundled", |
161 | | - "build:bundle": "npm run bundle:driver && npm run bundle:types && npm run build:runtime-barrel", |
| 160 | + "check:test-bundled": "npm run build:bundle && npm run switch:to-bundled&& npm run check:test ; npm run switch:to-unbundled", |
| 161 | + "build:bundle": "npm run bundle:driver && npm run bundle:types", |
162 | 162 | "build:runtime-barrel": "node etc/build-runtime-barrel.mjs", |
163 | 163 | "bundle:driver": "node etc/bundle-driver.mjs", |
164 | 164 | "bundle:types": "npx tsc --project ./tsconfig.json --declaration --emitDeclarationOnly --declarationDir test/tools/runner/bundle/types", |
|
0 commit comments