Skip to content

Commit

Permalink
Imported chai-as-promised explicitly so that the type definitions loa…
Browse files Browse the repository at this point in the history
…d correctly on Windows
  • Loading branch information
jan-molak committed Feb 19, 2017
1 parent 5db38b6 commit 1b545fa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spec/ensure.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ import { PerformsTasks, See, step, Task, Text } from 'serenity-js/lib/screenplay
import { SummaryStep } from './components/summary/summary_step';

import chai = require('chai');
import chaiAsPromised = require('chai-as-promised');

chai.use(require('chai-as-promised')); // tslint:disable-line:no-var-requires
chai.use(chaiAsPromised);

export class Ensure {
static thatAppliedDiscountEquals = (expectedDiscount: number): Task => new DiscountIsApplied(expectedDiscount);
Expand Down

0 comments on commit 1b545fa

Please sign in to comment.