Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Darren Hurley committed Mar 16, 2017
1 parent 1890caf commit dfe0db1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/main.spec.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* global sinon */
const session = require('../main');
import session from '../main';

describe('Session Client', function () {
const jsonpCallbackName = '$$$JSONP_CALLBACK';
Expand Down
4 changes: 3 additions & 1 deletion test/src/request.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ describe('request', function () {
setupFetch({email:email});
return request('/')
.then(function () {
sinon.assert.calledWith(window.fetch, 'https://session-next.ft.com/', {credentials:'include', useCorsProxy: true});
sinon.assert.calledWith(window.fetch, 'https://session-next.ft.com/', {
credentials: 'omit', useCorsProxy: true
});
});
});
});

0 comments on commit dfe0db1

Please sign in to comment.