Skip to content

Commit

Permalink
Internal change
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 361176205
  • Loading branch information
Google authored and Ykristos committed Jul 12, 2021
1 parent 87c58ce commit df013aa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion harness/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,8 @@ var TestExecutor = function(
} else if (testAllowList.length > 0) {
this.testList = [];
for (let i = 0; i < testSuite.tests.length; i++) {
if (testAllowList.includes(testSuite.tests[i].prototype.id)) {
if (!testSuite.tests[i].prototype.id ||
testAllowList.includes(testSuite.tests[i].prototype.id)) {
this.testList.push(testSuite.tests[i]);
}
}
Expand Down

0 comments on commit df013aa

Please sign in to comment.