Commit f22ff05
Mat Brown
Explicitly set test NODE_ENV for running tests on Travis
Based on exceptions that Bugsnag is reporting, it seems like the tests
on Travis are being run with a `NODE_ENV` of production, even though the
Karma configuration should be propagating `test` through the Webpack env
plugin. Anyway, it’s probably more sensible to just explicitly set the
environment variable when running tests.
We do keep the env variable set to `production` for the rest of the
Travis run since that’s the correct value for building the production
bundle that’s going to get deployed.1 parent c6e1a2a commit f22ff05
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
0 commit comments