mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 02:48:24 +00:00
feat: allow first arg in test step to be a function (#17096)
This commit is contained in:
parent
fc2e00152b
commit
2027d98a8e
5 changed files with 59 additions and 12 deletions
|
@ -114,7 +114,7 @@ Deno.test(async function invalidStepArguments(t) {
|
|||
await (t as any).step(() => {});
|
||||
},
|
||||
TypeError,
|
||||
"Expected a test definition or name and function.",
|
||||
"The step function must have a name.",
|
||||
);
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue