added tests, not yet working
This commit is contained in:
6
frontend/test/setup.js
Normal file
6
frontend/test/setup.js
Normal file
@@ -0,0 +1,6 @@
|
||||
require('jsdom-global')(undefined, { pretendToBeVisual: true, url: 'http://localhost' })
|
||||
|
||||
window.Date = Date
|
||||
global.expect = require('chai').expect
|
||||
|
||||
// See https://github.com/vuejs/vue-cli/issues/2128#issuecomment-453109575
|
||||
Reference in New Issue
Block a user