mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-07 14:40:55 +03:00
Added webdriverio integration tests
This commit is contained in:
committed by
Danny Coates
parent
bd02b7db8e
commit
23d629b80b
@@ -25,7 +25,8 @@ module.exports = function(app) {
|
||||
Object.setPrototypeOf(Combo.prototype, reporters.HTML.prototype)
|
||||
mocha.setup({
|
||||
ui: 'bdd',
|
||||
reporter: Combo
|
||||
reporter: Combo,
|
||||
timeout: 5000
|
||||
})
|
||||
</script>
|
||||
<script src="/jsconfig.js"></script>
|
||||
@@ -37,8 +38,7 @@ module.exports = function(app) {
|
||||
<body>
|
||||
<div id="mocha"></div>
|
||||
<script>
|
||||
mocha.checkLeaks();
|
||||
const runner = mocha.run();
|
||||
window.runner = mocha.run();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user