-
Notifications
You must be signed in to change notification settings - Fork 657
feat(testing/unstable): add it.todo
test.todo
and describe.todo
API
#6712
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
We have policy to add new features as unstable APIs first. https://github.com/denoland/std/blob/main/.github/CONTRIBUTING.md#suggesting-a-new-feature Can you create a new file |
Sure, I'll update. |
@kt3k It seems there has a little problem, the import { describe } from "@std/testing/bdd"
import "@std/testing/unstable-bdd"
// then we can call `describe.todo`
describe.todo(/* function params */); |
How about re-exporting all bdd APIs from import { describe } from "@std/testing/unstable-bdd"
// then we can call `describe.todo`
describe.todo(/* function params */); |
Ohh, that's right |
It seems not working, according to the ci, this will throw an error:
|
Or rename the |
it.todo
test.todo
and describe.todo
APIit.todo
test.todo
and describe.todo
API
@eryue0220 I resolved the type errors in |
Sure, because the params has a bit difference, one ( |
This pr is to solve #5711 to add new
todo
api for test suite methods.