xit

export xit(name: string, fn: FunctionWithParamTokens | AnyTestFn, timeOut?: number) : void

exported from angular2/testing defined in angular2/src/testing/testing.ts (line 284)

Like it, but instructs the test runner to exclude this test entirely. Useful for debugging or for excluding broken tests until they can be fixed.

Wrapper around Jasmine xit function. See http://jasmine.github.io/ for more details.

Example:

describe('some component', () => { xit('has a test', () => { throw 'This test will not run.'; }); it('has another test', () => { // This test will run. }); });