KawAnime/test/index.spec.js

24 lines
712 B
JavaScript
Raw Normal View History

2019-07-03 15:54:29 +00:00
/**
* We have to do it that way because we don't want to restart the app
* several times. Restarting would mean spamming the providers and
* might get us useless 429.
*
* Also, the end user will probably only start the app once.
*
* We'll make each app test so that it leaves the app in a neutral state,
* meaning that any action should be possible once any test is done.
*
* Documentation is at:
* - Spectron: https://github.com/electron-userland/spectron#application-api
* - Webdriver.io: https://webdriver.io/docs/api/browser/waitUntil.html
2019-07-03 15:54:29 +00:00
*/
describe('KawAnime main test routine', function () {
2019-07-08 21:21:02 +00:00
this.timeout(30000)
2019-07-03 18:03:12 +00:00
2019-07-03 15:54:29 +00:00
require('./hooks')()
require('./container')
require('./app')
})