Skip to content

Commit

Permalink
Remember to .clone()
Browse files Browse the repository at this point in the history
  • Loading branch information
papandreou authored and depfu[bot] committed Jan 7, 2019
1 parent 173937b commit 5c3dfde
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/unexpected-magicpen.spec.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
var expect = require('unexpected');

expect.use(require('../lib/unexpected-magicpen'));
var expect = require('unexpected')
.clone()
.use(require('../lib/unexpected-magicpen'));

expect.addAssertion('<any> to inspect as <string>', function (expect, subject, value) {
expect(expect.inspect(subject).toString(), 'to equal', value);
Expand Down

0 comments on commit 5c3dfde

Please sign in to comment.