Skip to content

Commit c489e90

Browse files
committed
test(NODE-4160): ignore aws tests in config
1 parent 3a7e684 commit c489e90

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@
105105
"check:tsd": "tsd --version && tsd",
106106
"check:dependencies": "mocha test/action/dependency.test.ts",
107107
"check:dts": "node ./node_modules/typescript/bin/tsc --noEmit mongodb.d.ts && tsd",
108-
"check:test": "mocha --config test/mocha_mongodb.json test/integration --grep 'AWS Lambda Examples' --invert",
108+
"check:test": "mocha --config test/mocha_mongodb.json test/integration",
109109
"check:unit": "mocha test/unit",
110110
"check:ts": "node ./node_modules/typescript/bin/tsc -v && node ./node_modules/typescript/bin/tsc --noEmit",
111111
"check:atlas": "mocha --config test/manual/mocharc.json test/manual/atlas_connectivity.test.js",

test/mocha_mongodb.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,12 @@
1414
"failZero": true,
1515
"reporter": "test/tools/reporter/mongodb_reporter.js",
1616
"sort": true,
17-
"color": true
17+
"color": true,
18+
"ignore": [
19+
"test/integration/node-specific/examples/handler.js",
20+
"test/integration/node-specific/examples/handler.test.js",
21+
"test/integration/node-specific/examples/aws_handler.js",
22+
"test/integration/node-specific/examples/aws_handler.test.js",
23+
"test/integration/node-specific/examples/setup.js"
24+
]
1825
}

0 commit comments

Comments
 (0)