Skip to content

Commit bd24649

Browse files
committed
Fix mocha test run as part of test-javascript target.
1 parent 2d4620b commit bd24649

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

Makefile

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,6 @@ build-javascript:
168168
npm install --dev && \
169169
npm link && \
170170
npm run build
171-
cd test/javascript/ && \
172-
npm link ../../clients/javascript/generated/
173171

174172
build-python:
175173
cd clients/python/generated/ && \
@@ -196,9 +194,10 @@ test-javascript: build-javascript
196194
npm install validator
197195
cd clients/javascript/generated/ && \
198196
npm install --dev && \
199-
npm run test && \
200-
npm link
201-
mocha --timeout 5000 test/javascript/
197+
npm run test
198+
cd test/javascript/ && \
199+
npm link ../../clients/javascript/generated/ && \
200+
mocha --timeout 5000 .
202201

203202
test-python: build-python
204203
cd clients/python/generated/ && \

0 commit comments

Comments
 (0)