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
Feat: Add expect syntax by wrapping assert syntax #3627
Conversation
to__strict_equal.ts to_be.ts to_be_defined.ts to_be_greater.ts to_be_greater_or_equal.ts to_be_instance_of.ts to_be_less.ts to_be_less_or_equal.ts to_be_nan.ts to_be_null.ts to_be_undefined.ts to_equal.ts to_equal_test.ts to_match.ts to_match_object.ts to_throw.ts
If anyone has any clue on what the following error mean:
|
@@ -2,7 +2,7 @@ | |||
import { AssertionError } from "./assertion_error.ts"; | |||
|
|||
// deno-lint-ignore no-explicit-any | |||
type AnyConstructor = new (...args: any[]) => any; | |||
export type AnyConstructor = new (...args: any[]) => any; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's not export this, but copy it into expect.ts to avoid increasing the public types.
Looks like the error caused by import specifiers without |
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
Hi @Sorikairox, is this PR ready to merge or did you need a hand with anything? |
Thanks for working on this @Sorikairox We'll continue the rest of tasks in other branch! |
We opened #3814 for continuing the work. |
Contains the following. Sadly couldn't make time to write tests (life happened).
related #1779