-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Match core assert
API
#114
Comments
Not a big fan of aliases tbh. It's a good idea in theory, but they complicate the simplicity. Not in code, but in documentation and overhead for users, as they have to pick the aliases they prefer. AVA is inherently opinionated. This also makes it easier for contributors. AVA is always the same no matter which project you contribute too. When we implement the possibility to use any assertion lib #49, you could just use the core assertion lib, right? // @vdemedes @kevva @arthurvr @SamVerschueren |
Only if they are familiar with AVA's api. The number of people familiar with Why did the team choose to use different names than the core |
Another argument against. The Node.js core team have repeatedly said the |
fair enough. |
I would prefer to do
t.deepStrictEqual(...)
instead oft.same(...)
, etc.Keeping the API's the same means one less detail I need to keep in my head.
(no reason
t.same
and other sugar can't stick around, I would just like to have the entireassert
API implemented).The text was updated successfully, but these errors were encountered: