Skip to content

Commit

Permalink
Merge pull request #91 from vdimikj/standard-parser-update
Browse files Browse the repository at this point in the history
Updating standard parser
  • Loading branch information
NickTomlin committed Apr 25, 2018
2 parents a5864a1 + b9f0ce9 commit 35643e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parsers/standard.js
@@ -1,7 +1,7 @@
// note: we use String.raw here to avoid the need to double escape '\' characters
// e.g. using a traditional string we would need '\\[object Object\\]'
// whereas raw allows us the terser `\[` because it doesn't interpret '\' as an escape
const context = String.raw`\[object Object\]|Object|Context|UserContext`
const context = String.raw`\[object Object\]|Object|Context|UserContext|Suite`
const source = String.raw`<anonymous>|it|beforeEach|afterEach|before|after`
const filepath = String.raw`(([A-Za-z]:\\)?.*?):.*`
const regexString = String.raw`at (?:${context})\.(?:${source}) \(${filepath}\)`
Expand Down

0 comments on commit 35643e9

Please sign in to comment.