added tests, not yet working

This commit is contained in:
2019-04-20 16:36:44 +02:00
parent 2e7553b70c
commit 74a823ad26
9 changed files with 1461 additions and 96 deletions

6
frontend/test/setup.js Normal file
View 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