Mark Wubben
|
2bd570edef
Use an AVA-specific Chalk instance
|
6 years ago |
Mark Wubben
|
8938577ff1
Reorganize worker code
|
6 years ago |
Mark Wubben
|
3c13c33957
Reimplement t.throws() and t.notThrows() (#1704)
|
6 years ago |
Mark Wubben
|
963f5cf4b8
Refactor how tests are actually run
|
6 years ago |
Mark Wubben
|
1f4d503407
Access worker options through dedicated module
|
6 years ago |
Oky Antoro
|
40604eed6c
Support promise & observable returning functions in t.throws() and t.notThrows()
|
6 years ago |
Mark Wubben
|
41e996647c
Use Concordance
|
7 years ago |
Mark Wubben
|
387d1f62f2
Reduce repetition between error message and value label
|
7 years ago |
Mark Wubben
|
e81d3f2818
Pass options object to Test constructor
|
7 years ago |
Mark Wubben
|
3a4553cf28
Fail tests that finish without running assertions
|
7 years ago |
Mark Wubben
|
d3748b4aa7
Refactor Test implementation
|
7 years ago |
Mark Wubben
|
3e8a689c04
Stop returning full test results
|
7 years ago |
Sindre Sorhus
|
3da8603b87
Bump dependencies and fix lint issues
|
7 years ago |
Mark Wubben
|
4f87f32377
Format values when AssertionErrors are created
|
7 years ago |
Mark Wubben
|
827cc724ce
Always fail tests with an assertion error
|
7 years ago |
Sindre Sorhus
|
8530fcdf30
Drop support for Node.js 0.10 and 0.12
|
8 years ago |
Kasper Lewau
|
5e02387a5d
Close #582 PR: [breaking] Don't convert non-Error promise rejection reason. Fixes #468
|
8 years ago |
Mark Wubben
|
bc326bdbe2
consistent error messaging for rejected promises
|
8 years ago |
Juan Soto
|
a35d130842
Close #508 PR: `t.doesNotThrow` → `t.notThrows`. Fixes #507
|
8 years ago |
Sindre Sorhus
|
7bb088561e
Consistently require `new` for classes
|
8 years ago |
James Talmage
|
e010816afb
Close #466 PR: Improve runner performance.
|
8 years ago |
Kevin Lanni
|
eea8752a79
Close #414 PR: Fix t.throws/doesNotThrow not outputting failure reason.
|
8 years ago |
vdemedes
|
bef1dfb864
support promises rejected with non-Errors
|
9 years ago |
vdemedes
|
cbea003517
show full stack trace for non-assert errors
|
9 years ago |
James Talmage
|
717030813a
test.async -> test.cb
|
9 years ago |
James Talmage
|
e2e45151dc
fix flaky test
|
9 years ago |
James Talmage
|
f8168153c7
Breaking: t.plan() will not auto-end tests.
|
9 years ago |
James Talmage
|
387c30a056
Breaking: t.end requires test be declared async
|
9 years ago |
Sindre Sorhus
|
21885b8c7d
use consistent and correct assert methods
|
9 years ago |
Sindre Sorhus
|
5b91488220
split tests into multiple files - fixes #201
|
9 years ago |