We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2dab724 commit fede01fCopy full SHA for fede01f
spec/javascripts/build_spec.js
@@ -98,9 +98,9 @@ describe('Build', () => {
98
99
jasmine.clock().tick(4001);
100
101
- expect($.ajax.calls.count()).toBe(2);
+ expect($.ajax.calls.count()).toBe(3);
102
103
- args = $.ajax.calls.argsFor(1)[0];
+ args = $.ajax.calls.argsFor(2)[0];
104
expect(args.url).toBe(`${BUILD_URL}/trace.json`);
105
expect(args.dataType).toBe('json');
106
expect(args.data.state).toBe('newstate');
@@ -133,7 +133,7 @@ describe('Build', () => {
133
expect($('#build-trace .js-build-output').text()).toMatch(/Update/);
134
135
136
137
args.success.call($, {
138
html: '<span>Different</span>',
139
status: 'running',
0 commit comments