Mark Wubben
|
2bd570edef
Use an AVA-specific Chalk instance
|
6 jaren geleden |
Mark Wubben
|
8938577ff1
Reorganize worker code
|
6 jaren geleden |
Mark Wubben
|
a681ecfd5a
Ensure 'this' in test implementations is null
|
6 jaren geleden |
Arjay Sitoy
|
e4446544f0
Remove `t.ifError()` assertion
|
6 jaren geleden |
Sindre Sorhus
|
dcff56a841
Bump dev dependencies and fix new lint issues
|
6 jaren geleden |
Mark Wubben
|
73e98f9db1
Fix t.snapshot.skip()
|
6 jaren geleden |
Mark Wubben
|
20f4cea3a8
Bind assertions, move skip()
|
6 jaren geleden |
Mark Wubben
|
963f5cf4b8
Refactor how tests are actually run
|
6 jaren geleden |
Mark Wubben
|
1f4d503407
Access worker options through dedicated module
|
6 jaren geleden |
Arjay Sitoy
|
51a0ff02d4
Support t.context in before and after hooks
|
6 jaren geleden |
Arjay Sitoy
|
4f896c2832
Make `t.log()` behave more like `console.log()`
|
6 jaren geleden |
Nowell Strite
|
14f7095d25
Implement t.log() (#1452)
|
7 jaren geleden |
Mark Wubben
|
549e99b2bd
Document t.title accessor
|
7 jaren geleden |
Mark Wubben
|
41e996647c
Use Concordance
|
7 jaren geleden |
Mark Wubben
|
387d1f62f2
Reduce repetition between error message and value label
|
7 jaren geleden |
Alex Russell
|
db39961548
Make `t.is()` use `Object.is()` (#1353)
|
7 jaren geleden |
Mark Wubben
|
affbb45744
Fail tests that finish with pending assertions
|
7 jaren geleden |
Mark Wubben
|
2e48970514
Remove unnecessary test to verify throws/notThrows return promises
|
7 jaren geleden |
Mark Wubben
|
d2a294d421
Reword error message for when assertions are used after test has finished
|
7 jaren geleden |
Mark Wubben
|
9fdf234b8b
Fail test due to pending assertion, not a returned promise rejection
|
7 jaren geleden |
Mark Wubben
|
e81d3f2818
Pass options object to Test constructor
|
7 jaren geleden |
Mark Wubben
|
3a4553cf28
Fail tests that finish without running assertions
|
7 jaren geleden |
Mark Wubben
|
09b23e0d5f
Try to fail test if assertions are added after test finishes
|
7 jaren geleden |
Mark Wubben
|
d3748b4aa7
Refactor Test implementation
|
7 jaren geleden |
Mark Wubben
|
3e8a689c04
Stop returning full test results
|
7 jaren geleden |
Mark Wubben
|
ead12e8252
Anticipate timers firing early
|
7 jaren geleden |
Sindre Sorhus
|
3da8603b87
Bump dependencies and fix lint issues
|
7 jaren geleden |
Mark Wubben
|
4f87f32377
Format values when AssertionErrors are created
|
7 jaren geleden |
Mark Wubben
|
e5108a22bf
More consistent use of backticks around assertions in error messages
|
7 jaren geleden |
Mark Wubben
|
827cc724ce
Always fail tests with an assertion error
|
7 jaren geleden |