mirror of
https://github.com/chaijs/chai
synced 2024-11-15 00:07:11 +00:00
test: make it possible to run utilities tests with --watch
This commit is contained in:
parent
1654808e59
commit
4ce3d420e2
1 changed files with 7 additions and 0 deletions
|
@ -1,6 +1,13 @@
|
|||
describe('utilities', function () {
|
||||
var expect = chai.expect;
|
||||
|
||||
after(function() {
|
||||
// Some clean-up so we can run tests in a --watch
|
||||
delete chai.Assertion.prototype.eqqqual;
|
||||
delete chai.Assertion.prototype.result;
|
||||
delete chai.Assertion.prototype.doesnotexist;
|
||||
});
|
||||
|
||||
it('_obj', function () {
|
||||
var foo = 'bar'
|
||||
, test = expect(foo);
|
||||
|
|
Loading…
Reference in a new issue