Skip to content

Commit

Permalink
chore(tests): ctx for chrome
Browse files Browse the repository at this point in the history
  • Loading branch information
AVVS committed Aug 5, 2017
1 parent dbbfa99 commit 428aad5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/suites/03-sales.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ describe('Sales suite', function SalesSuite() {
.then(inspectPromise(false));
});

it('Should execute approved sale', () => {
return approve(sale.url).then(query => (
it('Should execute approved sale', function test() {
return approve.call(this, sale.url).then(query => (
dispatch(executeSale, query)
.reflect()
.then(inspectPromise())
Expand All @@ -118,8 +118,8 @@ describe('Sales suite', function SalesSuite() {
});
});

it('Should approve & execute 3d printing sale', () => {
return approve(sale.url).then((query) => {
it('Should approve & execute 3d printing sale', function test() {
return approve.call(this, sale.url).then((query) => {
sinon.stub(payments.mailer, 'send').returns(Promise.resolve());

return dispatch(executeSale, query)
Expand Down

0 comments on commit 428aad5

Please sign in to comment.