test: extract RemoteControlApp to spec-helpers (#24020)

This commit is contained in:
Jeremy Rose 2020-06-09 11:42:53 -07:00 committed by GitHub
parent d08cfce6cb
commit 71e2b7151c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 82 additions and 66 deletions

View file

@ -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();
});
});