Skip to content
This repository has been archived by the owner on Sep 24, 2019. It is now read-only.

Commit

Permalink
Moved the Chai assertions to Quail core and required them as a module.
Browse files Browse the repository at this point in the history
  • Loading branch information
jessebeach committed Jan 17, 2016
1 parent 4a83e24 commit 15eedd6
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions test/assessmentSpecs/testRunner.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,18 @@ var httpServer = require('http-server');
var path = require('path');
var glob = require('glob');
var Q = require('q'); // https://github.com/kriskowal/q
var webdriverio = require('webdriverio')
var webdriverio = require('webdriverio');
var cwd = process.cwd();

var conf = require('../config/index.js');

var Mocha = require('mocha');
var chai = require('chai');
var chaiAsPromised = require('chai-as-promised');
chai.use(chaiAsPromised);
var chaiQuail = require('../../src/customAssertions/chai-quail');
var chaiQuail = require(
path.join(cwd, 'node_modules', '@quailjs/quail-core/lib/asserters/chai-quail')
);
chai.use(chaiQuail);
var seleniumOut;
var seleniumError;
Expand Down

0 comments on commit 15eedd6

Please sign in to comment.