Skip to content

zone.js Mocha patch regression in v0.11.5 #46297

@Alorel

Description

@Alorel

Which @angular/* package(s) are the source of the bug?

Don't known / other

Is this a regression?

Yes

Description

The patch for it.skip disappeared in v0.11.5.

zone.js v0.11.4, fesm2015/zone-testing.js, line 1061:

    global.xit = global.xspecify = Mocha.it.skip = function () {
        return mochaOriginal.it.skip.apply(this, wrapTestInZone(arguments));
    };

zone.js v0.11.5, line 1061:

    global.xit = global.xspecify = function () {
        return mochaOriginal.it.skip.apply(this, wrapTestInZone(arguments));
    };

The function is still part of the Mocha API and shouldn't have been removed.

Please provide a link to a minimal reproduction of the bug

No response

Please provide the exception or error you saw

it.skip is not a function

Please provide the environment you discovered this bug in (run ng version)

Angular CLI: 14.0.0
Node: 16.13.2
Package Manager: npm 8.3.2 
OS: linux x64

Angular: 14.0.0
... animations, cli, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1400.0
@angular-devkit/build-angular   14.0.0
@angular-devkit/core            14.0.0
@angular-devkit/schematics      14.0.0
@schematics/angular             14.0.0
rxjs                            7.5.5
typescript                      4.7.3

Anything else?

No response

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: zonesIssues related to zone.jsstate: has PR

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions