Skip to content
This repository was archived by the owner on Mar 23, 2021. It is now read-only.

Commit e2d3644

Browse files
Make sure we build cnd before executing the e2e tests
1 parent 9201a40 commit e2d3644

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,5 +88,5 @@ check_toml_format: install_tomlfmt
8888
check_ts_format: yarn_install
8989
(cd ./api_tests; yarn run check)
9090

91-
e2e: build yarn_install
91+
e2e: yarn_install
9292
(cd ./api_tests; yarn test)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Please see `cnd --help` for help with command line options.
4949
- `make test` is just a wrapper around `cargo test --all`
5050
- `make e2e` will run all the end-to-end tests
5151

52-
To run individual end-to-end tests, use `yarn` inside the `api_tests` folder (careful! It does not recompile Rust for you):
52+
To run individual end-to-end tests, use `yarn` inside the `api_tests` folder:
5353
- `yarn run test`: run all tests
5454
- `yarn run test <directory>`: run all tests in the directory
5555
- `yarn run test <path to test file>`: run all tests in this test file, supports shell glob on the path

api_tests/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"scripts": {
77
"check": "tsc && prettier --check '**/*.{ts,json,yml}' && tslint --project .",
88
"postinstall": "mkdir -p ./gen && json2ts -i ./siren.schema.json -o ./gen/siren.d.ts",
9+
"pretest": "cargo build --bin cnd",
910
"test": "ts-node ./harness.ts",
1011
"fix": "tslint --project . --fix && prettier --write '**/*.{ts,js,json,yml}'"
1112
},

0 commit comments

Comments
 (0)