「を期待して」投げ...シンプル活字体ジャスミンのテストは、私は次のような単純なジャスミンのテストを持っているエラー
//test.spec.ts
describe('Sample', function(){
it('Should do something',() => expect(true).toBe(true));
});
しかし、私は私が手に実行...
Error: 'expect' was used when there was no current spec, this could be because an asynchronous test timed out
これはうまく動作します。 ..
describe('Sample', function(){
it('Should do something', function(){
expect(true).toBe(true);
});
});