-
Part of https://github.com/sourcegraph/sourcegraph/issues/31707
## Implementation
1. Migrate all tests in `client/web/src/end-to-end` from Mocha to Jest
2. Migrate all tests in `client/browser/…
umpox updated
2 years ago
-
When Ava's `test.throws` is used with a Promise value, it cannot be transformed directly to a Jest `.toThrowError` call, since the latter does not support Promise values.
Any ideas on what can be d…
-
_(not an issue, but a feature request)_
I am slowly introducing `jest` to a repository and would like to modify files as they are edited (in a pre-commit hook). I'd love it if I could add command l…
-
Expectations:
1. As RDS is following Test Driven Development also known as TDD we need to set up a testing framework for the Dashboard site.
2. Select a unit testing library that best suits the Da…
-
When https://github.com/facebook/jest/pull/5154 gets released, we should probably relook at our `describe` and `test` blocks. Some of them do not have a top level `describe` and phrasing is inconsiste…
-
The `and` method is not supported by Jest, where Chai does support it.
It should probably cut the assertion in two:
```diff
- expect(ticketNumber).to.be.above(0).and.to.be.below(46)
+ expect(t…
-
Hi,
It would be nice to take into account the aliases for every functions that are map in the transformer for Expect.
Ex: https://github.com/mjackson/expect#toinclude
I don't know if there wo…
-
Many issues have been arising due to some components not being compatible with SSR (server side rendering). We should have some tests to avoid this issue. This would also put us up to par with https:/…
-
### Suggestion
Right now, we use [Jest](https://jestjs.io) in this repository for unit tests. It works well. But, I've noticed unit tests starting to take quite a while. It'd be nice if we could redu…
-