test: extract RemoteControlApp to spec-helpers (#24020)
This commit is contained in:
parent
d08cfce6cb
commit
71e2b7151c
4 changed files with 82 additions and 66 deletions
|
@ -110,4 +110,8 @@ app.whenReady().then(async () => {
|
|||
chai.use(require('dirty-chai'));
|
||||
|
||||
const runner = mocha.run(cb);
|
||||
const { runCleanupFunctions } = require('./spec-helpers');
|
||||
runner.on('test end', () => {
|
||||
runCleanupFunctions();
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue