Skip to content

Commit 924f8ab

Browse files
committed
Moves integration test at top level with jasmine
- Use jasmine so toolchain is similar to parse-server - Replaces bash script with pre-test
1 parent de4bc1c commit 924f8ab

28 files changed

+2487
-3062
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ integration/test_logs
99
.DS_Store
1010
.idea/
1111
integration/test_logs
12+
test_logs
1213
out/
1314
docs/
1415

.travis.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,14 @@ jobs:
2222
before_script:
2323
- npm install -g mongodb-runner
2424
- mongodb-runner start
25-
script: npm test -- --maxWorkers=4 && ./run_integration.sh
25+
script:
26+
- npm test -- --maxWorkers=4
27+
- npm run integration
2628
after_script: ./node_modules/codecov/bin/codecov -f ./coverage/coverage-final.json && rm -rf ./coverage
2729
# release on github latest branch
2830
- stage: release
29-
env:
31+
env:
32+
-
3033
before_script: skip
3134
after_script: skip
3235
script:

.vscode/settings.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"jasmineExplorer.config": "jasmine.json",
3+
"jasmineExplorer.env": {
4+
"TESTING": "1"
5+
}
6+
}

0 commit comments

Comments
 (0)