fix istanbul report writting by mock.restore in test/util/error.js

This commit is contained in:
harttle
2016-11-01 23:09:47 +08:00
parent 951225fb75
commit ce99bb56eb
4 changed files with 5 additions and 5 deletions
+1
View File
@@ -40,6 +40,7 @@ describe('error', function() {
expect(err.input).to.equal('{% raw %}');
expect(err.line).to.equal(4);
expect(err.file).to.equal('/foo.html');
mock.restore();
});
});