Skip to content

Commit d76980c

Browse files
authoredFeb 6, 2022
test: Set NODE_ENV before error handling tests. (#3712)
1 parent 5d7afbe commit d76980c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

‎test/unit/specs/error-handling.spec.js

+4
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ import { NavigationFailureType } from '../../../src/util/errors'
55
Vue.use(VueRouter)
66

77
describe('error handling', () => {
8+
beforeEach(function () {
9+
process.env.NODE_ENV = 'development'
10+
})
11+
812
it('onReady errors', done => {
913
const router = new VueRouter()
1014
const err = new Error('foo')

0 commit comments

Comments
 (0)
Please sign in to comment.