refactor: move spec helpers to spec/lib (#37010)

Co-authored-by: Milan Burda <miburda@microsoft.com>
This commit is contained in:
Milan Burda 2023-01-25 22:01:25 +01:00 committed by GitHub
parent 355f322dbd
commit 4bc6b15f53
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
63 changed files with 125 additions and 125 deletions

View file

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