|
100 | 100 | "build:dts": "npm run build:ts && api-extractor run && rimraf 'lib/**/*.d.ts*' && downlevel-dts mongodb.d.ts mongodb.ts34.d.ts",
|
101 | 101 | "build:docs": "typedoc",
|
102 | 102 | "check:bench": "node test/benchmarks/driverBench",
|
103 |
| - "check:coverage": "nyc npm run check:test", |
| 103 | + "check:coverage": "nyc npm run test:all", |
104 | 104 | "check:lint": "npm run build:dts && npm run check:dts && npm run check:eslint && npm run check:tsd",
|
105 | 105 | "check:eslint": "eslint -v && eslint --max-warnings=0 --ext '.js,.ts' src test",
|
106 | 106 | "check:tsd": "tsd --version && tsd",
|
107 | 107 | "check:dts": "tsc --noEmit mongodb.d.ts && tsd",
|
108 |
| - "check:test": "mocha --recursive test/functional test/unit", |
| 108 | + "check:test": "mocha --file test/tools/runner --recursive test/functional", |
| 109 | + "check:unit": "mocha --recursive test/unit/", |
109 | 110 | "check:ts": "tsc -v && tsc --noEmit",
|
110 | 111 | "check:atlas": "mocha --config \"test/manual/mocharc.json\" test/manual/atlas_connectivity.test.js",
|
111 |
| - "check:adl": "mocha test/manual/data_lake.test.js", |
| 112 | + "check:adl": "mocha --file test/tools/runner test/manual/data_lake.test.js", |
112 | 113 | "check:ocsp": "mocha --config \"test/manual/mocharc.json\" test/manual/ocsp_support.test.js",
|
113 | 114 | "check:kerberos": "mocha --config \"test/manual/mocharc.json\" test/manual/kerberos.test.js",
|
114 | 115 | "check:tls": "mocha --config \"test/manual/mocharc.json\" test/manual/tls_support.test.js",
|
115 | 116 | "check:ldap": "mocha --config \"test/manual/mocharc.json\" test/manual/ldap.test.js",
|
116 | 117 | "check:csfle": "mocha test/functional/client_side_encryption",
|
117 | 118 | "prepare": "node etc/prepare.js",
|
118 | 119 | "release": "standard-version -i HISTORY.md",
|
119 |
| - "test": "npm run check:lint && npm run check:test" |
| 120 | + "test": "npm run check:lint && npm run test:all", |
| 121 | + "test:all": "npm run check:unit && npm run check:test" |
120 | 122 | },
|
121 | 123 | "tsd": {
|
122 | 124 | "directory": "test/types",
|
|
0 commit comments