Skip to content
This repository was archived by the owner on Jun 27, 2019. It is now read-only.

Commit c609c27

Browse files
committed
Avoid database seeding during cucumber testing
1 parent a8bca6f commit c609c27

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
- yarn install --frozen-lockfile --non-interactive
2424
- yarn add codacy-coverage
2525
- yarn run eslint
26+
- cp config/cucumber.json config/local.json
2627
- yarn run test:coverage
2728
- cat ./coverage/lcov.info | codacy-coverage
2829

config/cucumber.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"host": "localhost",
3+
"port": 3030,
4+
"baseURL": "http://localhost:3030",
5+
"frontURL": "http://localhost:3000",
6+
"smtpConfig": {
7+
"host": "0.0.0.0",
8+
"port": 1025,
9+
"ignoreTLS": true
10+
},
11+
"thumbor": {
12+
"url": "",
13+
"key": ""
14+
},
15+
"seeder": {
16+
"runOnInit": false,
17+
"dropDatabase": false
18+
},
19+
"defaultEmail": "[email protected]"
20+
}

0 commit comments

Comments
 (0)