Skip to content

Commit 212bac5

Browse files
committed
make; suppress warning msg in test
1 parent ce20da7 commit 212bac5

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Makefile

+7-7
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@ DOCFILE = docs/source/_docs
66
STABLE_BRANCH = 3.6.x
77

88
test:
9-
@node test/dropdb.js
10-
@./node_modules/.bin/mocha $(T) --async-only $(TESTS)
11-
@node test/dropdb.js
9+
@MONGOOSE_DISABLE_STABILITY_WARNING=1 node test/dropdb.js
10+
@MONGOOSE_DISABLE_STABILITY_WARNING=1 ./node_modules/.bin/mocha $(T) --async-only $(TESTS)
11+
@MONGOOSE_DISABLE_STABILITY_WARNING=1 node test/dropdb.js
1212

1313
test-short:
14-
@node test/dropdb.js
15-
@./node_modules/.bin/mocha $(T) -g LONG -i --async-only $(TESTS)
16-
@node test/dropdb.js
14+
@MONGOOSE_DISABLE_STABILITY_WARNING=1 node test/dropdb.js
15+
@MONGOOSE_DISABLE_STABILITY_WARNING=1 ./node_modules/.bin/mocha $(T) -g LONG -i --async-only $(TESTS)
16+
@MONGOOSE_DISABLE_STABILITY_WARNING=1 node test/dropdb.js
1717

1818
test-long:
19-
@./node_modules/.bin/mocha $(T) -g LONG --async-only $(TESTS)
19+
@MONGOOSE_DISABLE_STABILITY_WARNING=1 ./node_modules/.bin/mocha $(T) -g LONG --async-only $(TESTS)
2020

2121
docs: ghpages merge_stable docclean gendocs
2222
docs_all: docs_unstable docs

0 commit comments

Comments
 (0)