Skip to content

Commit 40d485c

Browse files
authored
test(NODE-4553): move check test to action folder (#3366)
1 parent 4ce6e4c commit 40d485c

File tree

3 files changed

+2
-1
lines changed

3 files changed

+2
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
"check:lint": "npm run build:dts && npm run check:dts && npm run check:eslint && npm run check:tsd",
102102
"check:eslint": "eslint -v && eslint --max-warnings=0 --ext '.js,.ts' src test",
103103
"check:tsd": "tsd --version && tsd",
104-
"check:dependencies": "mocha test/unit/dependency.test.ts",
104+
"check:dependencies": "mocha test/action/dependency.test.ts",
105105
"check:dts": "node ./node_modules/typescript/bin/tsc --noEmit mongodb.d.ts && tsd",
106106
"check:test": "mocha --config test/mocha_mongodb.json test/integration",
107107
"check:unit": "mocha test/unit",
File renamed without changes.

test/readme.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ Below is a summary of the types of test automation in this repo.
3030
| Benchmark | `/test/benchmarks` | The benchmark tests report how long a designated set of tests take to run. They are used to measure performance. | `npm run check:bench` |
3131
| Specialized Environment | `/test/manual` | The specalized environment tests are functional tests that require specialized environment setups in Evergreen. <br><br>**Note**: "manual" in the directory path does not refer to tests that should be run manually. These tests are automated. These tests have a special Evergreen configuration and run in isolation from the other tests. | There is no single script for running all of the specialized environment tests. Instead, you can run the appropriate script based on the specialized environment you want to use: <br>- `npm run check:atlas` to test Atlas <br>- `npm run check:adl` to test Atlas Data Lake <br>- `npm run check:ocsp` to test OSCP <br>- `npm run check:kerberos` to test Kerberos <br>- `npm run check:tls` to test TLS <br>- `npm run check:ldap` to test LDAP authorization |
3232
| TypeScript Definition | `/test/types` | The TypeScript definition tests verify the type definitions are correct. | `npm run check:tsd` |
33+
| Github Actions | `/test/action` | Tests that run as Github actions such as dependency checking. | Currently only `npm run check:dependencies` but could be expanded to more in the future. |
3334

3435
### Spec Tests
3536

0 commit comments

Comments
 (0)