Christian Murphy
8816faf6be
support test macros in typescript definitions ( #975 )
8 years ago
Dmitry Ananichev
ea25b20a6d
improve test coverage by adding more tests ( #967 )
8 years ago
Vadim Demedes
ee1372521b
use path.relative() to detect local AVA installation ( #993 )
8 years ago
Vadim Demedes
d19d1d1d00
Use updated ava-files module ( #994 )
8 years ago
Sindre Sorhus
40b4bcd3a2
modularize the class binding
one less TODO \o/
8 years ago
Sindre Sorhus
adc823ecc9
📢 Delighted to welcome @jfmengels to the team! 🎉
8 years ago
Sindre Sorhus
78d47b3c89
fix `run-status.js` tests on Windows
8 years ago
James Talmage
204f2be2e8
Support `karma-ava`
closes #942
This does a few things:
- Moves anything used in child processes that the browser can't replicate into `lib/process-adapter.js` (so that browser implementations can implement that missing functionality).
- Separates out `prefix-title` so `karma-ava` can use it.
It enables use of [`karma-ava`](https://github.com/avajs/karma-ava ), which is very preliminary right now, but does work: https://cloud.githubusercontent.com/assets/4082216/16401095/75720328-3caf-11e6-950d-27a9e48bbf9a.png
--
This also includes two commits from #896
9 years ago
Sindre Sorhus
01a110e15f
0.16.0
8 years ago
Sindre Sorhus
1bff531639
bump dependencies and remove unused ones
8 years ago
Christian Murphy
f9fe8f242d
Add type definitions to notRegex ( #979 )
8 years ago
Juan Soto
1c6abe02e9
Update Juan Soto link
8 years ago
Andrew Safigan
8edd9c2ed1
provide clear error message when users attempt nested/async calls to `test` ( #961 )
Fixes #948 .
AVA does not support nested / async calls to `test`, but we were not providing a great error message when users attempted that.
* added failing test for expected error
* tests passed: waiting for review
* added test
* changed error message
* fixed error in test
* changed 'hasBegunRunning' to 'hasStarted'
8 years ago
Sindre Sorhus
c82f98015a
minor code style tweaks
8 years ago
Ivo Gabe de Wolff
1dd6d5b912
Auto generate TypeScript definition to allow chaining ( #884 )
8 years ago
Sindre Sorhus
05f1890eb7
add Dependency CI badge
Not very useful, but want to promote Dependency CI because it's awesome.
8 years ago
Sindre Sorhus
7440ac9d03
minor readme tweaks
8 years ago
Andrey Ringbauer
b54eafa3dd
add new reporters section in the readme ( #955 )
8 years ago
fluffywaffles
a539c7e1b4
Update JSPM+SystemJS recipe per @jamestalmage .
See istanbuljs/nyc#305 - specifically [this comment and the one after it](https://github.com/istanbuljs/nyc/issues/305#issuecomment-231517122 ).
Essentially, @jamestalmage brought up that it would be good to explicitly mention in the recipe that you should not pre-build your project with JSPM/SystemJS to run your tests. The purpose of ava-jspm-loader is that you do not have to build before testing.
Closes #954
8 years ago
Flavio Corpa
7827fa17e0
Translate React recipe to Spanish (es_ES) ( #940 )
8 years ago
Sindre Sorhus
6635af0e40
fix lint issues
8 years ago
Forresst
13cbdc2287
Docs: Add link to french translation of JSPM recipe ( #957 )
8 years ago
vdemedes
5cfe0d1054
fix import-order linting errors
8 years ago
fluffywaffles
c3539c1701
JSPM and SystemJS recipe.
<!--
Read the [contributing guidelines](https://github.com/avajs/ava/blob/master/contributing.md ). We are excited about pull requests, but please try to limit the scope, provide a general description of the changes, and remember, it's up to you to convince us to land it. If this fixes an open issue, link to it in the following way: `Fixes #321`. New features and bug fixes should come with tests.
-->
A recipe for using AVA with JSPM, per discussion on #131 . It requires the import of an external library I wrote for the purpose of encapsulating the loader shim so it can be maintained and updated. Here's a link to that library: [ava-jspm-loader](https://github.com/skorlir/ava-jspm-loader ).
Closes #941
8 years ago
Forresst
6c0f093612
Fix link to issue 751 and add link to french translation ( #946 )
8 years ago
Juan
187b8b49b0
Document common pitfalls ( #919 )
8 years ago
Danilo Sampaio
4d3ed27865
Fix babel-config file name. ( #932 )
8 years ago
James Talmage
ca800ebd2b
minor tweaks
8 years ago
James Talmage
a27c7332bd
linter: disable max-lines rule for tests
8 years ago
James Talmage
81ffd8db1f
Extract babel config generation into it's own submodule ( #924 )
* extract babel config generation into it's own submodule
* no need for defaults
* reassign validate call
* pr feedback
8 years ago
James Talmage
bdc57f4f9d
extract ava-files to it's own module ( #925 )
* ava-files should honor a `cwd` option.
* Properly resolve test files in non-watch mode.
* update test/watcher.js to reflect new AvaFiles Api
* extract ava-files to it's own thing
8 years ago
Arve Seljebu
9efcee0940
readme: add note about uncaught exceptions ( #918 )
fixes issue #917
8 years ago
forresst
fa854896c9
Chokidar shouldn't be an optional dependency ( #916 )
8 years ago
Jair Trejo
6669a34f3a
Fix babel config in react recipe ( #927 )
8 years ago
Sindre Sorhus
6fd817c250
clarify readme example on adding AVA to package.json
fixes #922
8 years ago
Sindre Sorhus
dc30b00c20
bump dependencies
8 years ago
Sindre Sorhus
c9259200c7
fix lint issues with latest XO
8 years ago
James Talmage
c95fa7fbcb
bump ava-throws-helper
8 years ago
Mark Wubben
c229e9b10e
swap arr-diff for lodash.difference ( #914 )
8 years ago
Nuno Campos
cddd248138
move power assert error message formatting to child processes ( #911 )
Fixes #703
* moved power assert assertion error formatting to child processes
* fix test that asserted presence of powerAssertContext on AssertionError
8 years ago
Nuno Campos
68db38ed2a
fix typo in test/api.js ( #910 )
8 years ago
James Talmage
2a6c5a9fc0
Fix TypeScript recipe. ( #907 )
Following the old example didn't work for me. It appears the new recommended way to install `tsc` is just to install `typescript`.
8 years ago
forresst
402a7d5978
Add link to Typescript recipe ( #906 )
8 years ago
James Talmage
43103f8681
Add concurrency to package.json config in readme.
8 years ago
James Talmage
6d636f238a
Merge branch '0.15'
8 years ago
Matija Marohnić
1b00f42ed9
Fix Italian recipe links ( #902 )
8 years ago
Nuno Campos
fb3af506ad
update to new power-assert-runtime ( #903 )
* updated to power-assert-runtime
* added tests for power assert not throwing on experimental syntax
* bump empower-core to 0.6.1
8 years ago
James Talmage
19625c9dd1
0.15.2
9 years ago
James Talmage
94ef905339
use currently-unhandled
9 years ago
Sindre Sorhus
60890c490b
switch to AVA AppVeyor account
9 years ago