Skip to content

Commit f23cafb

Browse files
committed
fix: run background service in travis
1 parent 8011058 commit f23cafb

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.travis.yml

+3
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ env:
2020
before_install:
2121
- yarn
2222

23+
before_script:
24+
- yarn server &
25+
2326
script:
2427
- yarn test:unit
2528
- yarn test:integration

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
"commitmsg": "commitlint -e $GIT_PARAMS",
7474
"test:unit": "MOCK_FETCH=true jest ./tests/unit",
7575
"test:unit:watch": "MOCK_FETCH=true jest ./tests/unit --watch",
76-
"test:integration": " jest ./tests/integration/",
76+
"test:integration": "jest ./tests/integration/",
7777
"test:integration:watch": "jest ./tests/integration/ --watch",
7878
"build:dist": "webpack --mode production",
7979
"build:lib": "NODE_ENV=production babel src --out-dir lib",

0 commit comments

Comments
 (0)