refactor: move spec helpers to spec/lib (#37010)
Co-authored-by: Milan Burda <miburda@microsoft.com>
This commit is contained in:
parent
355f322dbd
commit
4bc6b15f53
63 changed files with 125 additions and 125 deletions
|
@ -68,7 +68,7 @@ app.whenReady().then(async () => {
|
|||
// 1. test completes,
|
||||
// 2. `defer()`-ed methods run, in reverse order,
|
||||
// 3. regular `afterEach` hooks run.
|
||||
const { runCleanupFunctions } = require('./spec-helpers');
|
||||
const { runCleanupFunctions } = require('./lib/spec-helpers');
|
||||
mocha.suite.on('suite', function attach (suite) {
|
||||
suite.afterEach('cleanup', runCleanupFunctions);
|
||||
suite.on('suite', attach);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue