Revert change to unit test runner grep option (#16980)

This commit is contained in:
Charles Gagnon
2021-09-02 16:52:09 -07:00
committed by GitHub
parent 42a1bdc491
commit 73c20345e9
3 changed files with 4 additions and 5 deletions

View File

@@ -296,10 +296,9 @@ function runTests(opts) {
}
return loadTests(opts).then(() => {
if (opts.grep) {
// {{SQL CARBON EDIT}}
mocha.grep(new RegExp(opts.grep));
mocha.grep(opts.grep);
// {{SQL CARBON EDIT}} Add invert option
if (opts.invert) {
mocha.invert();
}