未验证 提交 663681f7 编写于 作者: P Phil Hughes

fixed notes_spec.js

上级 00415806
......@@ -68,7 +68,7 @@ import timeoutPromise from './helpers/set_timeout_promise_helper';
it('submits an ajax request on tasklist:changed', function(done) {
spyOn(axios, 'patch').and.callFake((url, data) => {
expect(url).toBe(`${gl.TEST_HOST}/frontend-fixtures/merge-requests-project/merge_requests/1.json`);
expect(data.note.note).not.toBe(null);
expect(data.note).not.toBe(null);
done();
return Promise.resolve({ data: {} });
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册