0
非同期テストの構文が2.xから変更され、documentationが明確ではありません。Jasmine 2.6の非同期テスト
コードを実行して3秒間ブロックし、新しい構文を使用してテスト条件を実行する方法を明確にすることはできますか?
it('should update the table when new data is provided', function() {
var newData = ",0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23\nX-Y,1,1,1,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1";
fixture.datum(csv).call(fp);
expect(fp.dataset()).toEqual(csv);
fp.dataset(newData);
expect(fp.dataset()).toEqual(newData);
//block for 3 seconds
expect(fixture.selectAll(".row").nodes().length).toBe(3);
});