mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-28 22:55:14 -07:00
fix stack matching
This commit is contained in:
+1
-1
@@ -248,7 +248,7 @@ describe('error', function () {
|
|||||||
.be.rejected
|
.be.rejected
|
||||||
.then(function (err) {
|
.then(function (err) {
|
||||||
expect(err.stack).to.contain('intended render reject')
|
expect(err.stack).to.contain('intended render reject')
|
||||||
expect(err.stack).to.match(/at .*:\d+:\d+\)/)
|
expect(err.stack).to.match(/at .*:\d+:\d+/)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user