Skip to content

Commit b5f2dc9

Browse files
author
Edward Smit
committed
Merge pull request #25 from chaijs/feature/fix-deprecation-warnings
Fix deprecation warnings in tests
2 parents 6b3e203 + 03d19be commit b5f2dc9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/fail.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
chai.use(plugin);
2323
}
2424
chai.should();
25-
chai.Assertion.includeStack = true;
25+
chai.config.includeStack = true;
2626

2727
var assert = chai.assert;
2828

test/suite.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
chai.use(plugin);
2323
}
2424
chai.should();
25-
chai.Assertion.includeStack = true;
25+
chai.config.includeStack = true;
2626

2727
var expect = chai.expect;
2828
var assert = chai.assert;

0 commit comments

Comments
 (0)