Files
DefinitelyTyped/types/jasmine-given/jasmine-given-tests.ts

42 lines
425 B
TypeScript

Given(() => { });
When(() => { });
Then(() => { });
Then('expected condition 1', () => { });
And(() => { });
Invariant(() => { });
Given((done) => {
if (done) {
done();
}
});
When((done) => {
if (done) {
done();
}
});
Then('expected condition 2', (done) => {
if (done) {
done();
}
});
And((done) => {
if (done) {
done();
}
});
Invariant((done) => {
if (done) {
done();
}
});