Skip to content

Conversation

@csharpsi
Copy link

This definition file allows the use of this with TypeScript.

For example:

var async: asyncjasmine.AsyncSpec = new AsyncSpec(this);

async.beforeEach((done) => {
    //do stuff
    done();
});

async.it('is awesome', (done) => {
    setTimeout(() => {
        expect(true).toBe(true);
        done();
    }, 500);        
});

async.afterEach((done) => {
    //do stuff
    done();
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant