Skip to content

Commit 3d7de1c

Browse files
fixed test env
1 parent 63ca496 commit 3d7de1c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config/default.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const CUSTOM_SCRIPT = fs.readFileSync('config/wpt/custom_metrics.min.js', 'utf8'
66

77
const conf = {
88
"rollbar": {
9-
postToken: process.env.ROLLBAR_TOKEN || null
9+
postToken: process.env.ROLLBAR_TOKEN || "dummy"
1010
},
1111
"images": {
1212
"maxNumberOfImages": process.env.MAX_IMGES || 50,
@@ -16,7 +16,7 @@ const conf = {
1616
"minImageRes": process.env.MIN_IMAGE_RES || 20,
1717
},
1818
"wtp": {
19-
"apiKey": process.env.WTP_API_KEY,
19+
"apiKey": process.env.WTP_API_KEY || "dummy",
2020
"imageScript": process.env.WTP_CUSTOM || CUSTOM_SCRIPT,
2121
"viewportWidth": 1366,
2222
"viewportHeight": 784,

0 commit comments

Comments
 (0)