Files
test-repo/tests/format/js/test-declarations/angular_waitForAsync.js
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
739 B
JavaScript
Raw Normal View History

beforeEach(waitForAsync(() => {
// code
}));
afterAll(waitForAsync(() => {
console.log('Hello');
}));
it('should create the app', waitForAsync(() => {
//code
}));
it("does something really long and complicated so I have to write a very long name for the test", waitForAsync(() => {
// code
}));
it("does something really long and complicated so I have to write a very long name for the test", waitForAsync(() => new SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS));
/*
* isTestCall(parent) should only be called when parent exists
* and parent.type is CallExpression. This test makes sure that
* no errors are thrown when calling isTestCall(parent)
*/
function x() { waitForAsync(() => {}) }