Skip to content
This repository has been archived by the owner on Apr 25, 2023. It is now read-only.

Commit

Permalink
Make lookahead for . lazy (#694)
Browse files Browse the repository at this point in the history
  • Loading branch information
dpgraham authored Oct 31, 2018
1 parent ec9d380 commit 5575578
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/renderer/lib/client-frameworks/js-wdio.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class JsWdIoFramework extends Framework {
chainifyCode (code) {
return code
.replace(/let .+ = /g, '')
.replace(/(\n|^)(driver|el.+)\./g, '\n.')
.replace(/(\n|^)(driver|el[0-9]+)\./g, '\n.')
.replace(/;\n/g, '\n');
}

Expand Down

0 comments on commit 5575578

Please sign in to comment.