mirror of
https://github.com/denoland/deno.git
synced 2024-11-21 15:04:11 -05:00
fix(test): allow explicit undefined for boolean test options (#18786)
Fixes #18784.
This commit is contained in:
parent
1d447cb7c3
commit
065d8771ad
2 changed files with 7 additions and 0 deletions
|
@ -100,7 +100,9 @@ struct TestInfo<'s> {
|
|||
#[serde(rename = "fn")]
|
||||
function: serde_v8::Value<'s>,
|
||||
name: String,
|
||||
#[serde(default)]
|
||||
ignore: bool,
|
||||
#[serde(default)]
|
||||
only: bool,
|
||||
location: TestLocation,
|
||||
}
|
||||
|
|
|
@ -147,3 +147,8 @@ Deno.test(async function parentOnTextContext(t1) {
|
|||
});
|
||||
});
|
||||
});
|
||||
|
||||
Deno.test("explicit undefined for boolean options", {
|
||||
ignore: undefined,
|
||||
only: undefined,
|
||||
}, () => {});
|
||||
|
|
Loading…
Reference in a new issue