ava
Here are 279 public repositories matching this topic...
Spurred by conversation in avajs/ava#2449 and avajs/ava#1485 we'd like for our assertions to return booleans. true when they pass, false when they fail. This does not apply to the throws() and throwsAsync() assertions.
Failing assertions will fail the test, but do not throw exceptions. This means your test does not stop executing. Usua
-
I'm submitting a ...
[x] feature request -
Summary
tslint has a language service plugin so that tslint runs within the language service and shows linter failures in your editor as red squiggly underlines, the same as type errors.
https://www.npmjs.com/package/tslint-language-service
I'll make a PR at some point; just logging here for the time being.
-
Updated
May 16, 2020 - JavaScript
The and method is not supported by Jest, where Chai does support it.
It should probably cut the assertion in two:
- expect(ticketNumber).to.be.above(0).and.to.be.below(46)
+ expect(ticketNumber).toBeGreaterThan(0)
+ expect(ticketNumber).toBeLessThan(46)Is this a feasible option for codemods?
If so: I'm willing to work on a PR.
Issue description or question
The coverage markers usually remain green for the lines that contain the test declaration in Jest. This is usually not a problem until those tests are collapsed (folded). When the tests are folded, then it becomes more difficult to tell that the tests did not run just by scanning the coverage markers.
For example:
 in this stack
- "Flash" messages... to client side from a Koa route
- Ho
See avajs/eslint-plugin-ava#158 (comment)
*Note: This issue has a bounty, so it's expected that you are an experienced programme
Improve the readme.md documentation before 1.0 release.
- improve configuration section (specifically concerning outputs)
- improve documentation on usage of lib/sharp tarball
- add sample/example configuration files in
~/examplesincluding how to setup with a single bucket, single existing bucket, etc. - add a bit about what IAM permissions are required to deploy with Serv
-
Updated
Apr 9, 2018 - Python
-
Updated
Oct 19, 2019 - Python
-
Updated
Jun 7, 2020 - TypeScript
-
Updated
Oct 30, 2019 - TypeScript
-
Updated
Feb 19, 2020 - JavaScript
-
Updated
Oct 6, 2019 - JavaScript
-
Updated
Oct 28, 2019 - Python
Software version
OS: Ubuntu
Any other software related to your bug:
vscode: 1.35.1
What did you get as the error?
These instructions don't work in vscode on my computer:
https://github.com/quasarframework/quasar-testing
You may notice that your IDE doesn't know how to parse the test block, so go into the <test/> block, press <alt> + <ent
-
Updated
Dec 26, 2018 - JavaScript
-
suman should link global to local if local suman copy does not exist.
-
suman should link a project to itself, if configuration tells it to do so.
reporter options
-
Updated
Apr 5, 2020 - TypeScript
Improve this page
Add a description, image, and links to the ava topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the ava topic, visit your repo's landing page and select "manage topics."
Current behavior
Hello, I would simply like to request that the documentation for
find()(https://enzymejs.github.io/enzyme/docs/api/ShallowWrapper/find.html) be updated to reflect its snapshot-nature. For example, in a situation where clicking a button updates state under the hood...