mirror of
https://github.com/actions/labeler.git
synced 2025-12-19 08:38:15 +00:00
build
This commit is contained in:
4
node_modules/jest-circus/build/eventHandler.js
generated
vendored
4
node_modules/jest-circus/build/eventHandler.js
generated
vendored
@@ -49,9 +49,7 @@ const eventHandler = (event, state) => {
|
||||
|
||||
if (!(0, _utils.describeBlockHasTests)(currentDescribeBlock)) {
|
||||
currentDescribeBlock.hooks.forEach(hook => {
|
||||
hook.asyncError.message = `Invalid: ${
|
||||
hook.type
|
||||
}() may not be used in a describe block containing no tests.`;
|
||||
hook.asyncError.message = `Invalid: ${hook.type}() may not be used in a describe block containing no tests.`;
|
||||
state.unhandledErrors.push(hook.asyncError);
|
||||
});
|
||||
} // inherit mode from its parent describe but
|
||||
|
||||
Reference in New Issue
Block a user