mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-03 19:42:27 +08:00
42 lines
425 B
TypeScript
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();
|
|
}
|
|
});
|