Meta tweaks
This commit is contained in:
parent
dd2a91dce5
commit
2dac8e96f4
2 changed files with 5 additions and 6 deletions
|
|
@ -464,7 +464,7 @@ const testType = (t: ExecutionContext, type: string, exclude?: string[]) => {
|
|||
for (const [key, {fixtures}] of types) {
|
||||
// TODO: Automatically exclude value types in other tests that we have in the current one.
|
||||
// Could reduce the use of `exclude`.
|
||||
if (exclude && exclude.indexOf(key) !== -1) {
|
||||
if (exclude && exclude.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue