Skip to content

Commit e255edd

Browse files
committed
fix: adjusting test script
1 parent b9cd18f commit e255edd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ lib: ${SRC_FILES} package.json tsconfig.json node_modules rollup.config.js
88
@${BIN}/rollup -c && touch lib
99

1010
.PHONY: test
11-
test: node_modules
11+
test: node_modules lib
1212
@WHARFKIT_TEST=1 TS_NODE_PROJECT='./test/tsconfig.json' MOCK_DIR='./test/data/requests' \
1313
${BIN}/mocha ${MOCHA_OPTS} ${TEST_FILES} --no-timeout --grep '$(grep)' --exit
1414

1515
.PHONY: ci-test
16-
ci-test: node_modules
16+
ci-test: node_modules lib
1717
@WHARFKIT_TEST=1 TS_NODE_PROJECT='./test/tsconfig.json' MOCK_DIR='./test/data/requests' \
1818
${BIN}/nyc ${NYC_OPTS} --reporter=text \
1919
${BIN}/mocha ${MOCHA_OPTS} -R list ${TEST_FILES} --no-timeout --exit

0 commit comments

Comments
 (0)