Skip to content

Commit

Permalink
Convert integration tests to be self-hosted
Browse files Browse the repository at this point in the history
* Reconfigure xo and eslint to purposely ignore bad configurations
* Rewrite expectations to use snapshots
* Fix trailing symbols strip functionality for output cleanup
* Use posix path relative resolution on tests filename snapshots
* Normalize posix paths on test snapshots
  • Loading branch information
jonathansamines committed Sep 9, 2020
1 parent 900dc6d commit 33172dc
Show file tree
Hide file tree
Showing 67 changed files with 649 additions and 367 deletions.
3 changes: 0 additions & 3 deletions test-tap/fixture/environment-variables/ava.config.js

This file was deleted.

This file was deleted.

This file was deleted.

5 changes: 0 additions & 5 deletions test-tap/fixture/pkg-conf/resolve-dir/dir-a/dir-a-base-1.js

This file was deleted.

5 changes: 0 additions & 5 deletions test-tap/fixture/pkg-conf/resolve-dir/dir-a/dir-a-base-2.js

This file was deleted.

7 changes: 0 additions & 7 deletions test-tap/fixture/pkg-conf/resolve-dir/package.json

This file was deleted.

42 changes: 0 additions & 42 deletions test-tap/integration/concurrency.js

This file was deleted.

54 changes: 0 additions & 54 deletions test-tap/integration/config.js

This file was deleted.

35 changes: 0 additions & 35 deletions test-tap/integration/environment-variables.js

This file was deleted.

22 changes: 0 additions & 22 deletions test-tap/integration/extensions.js

This file was deleted.

30 changes: 0 additions & 30 deletions test-tap/integration/globs.js

This file was deleted.

108 changes: 0 additions & 108 deletions test-tap/integration/line-numbers.js

This file was deleted.

24 changes: 0 additions & 24 deletions test-tap/integration/node-arguments.js

This file was deleted.

@@ -1,4 +1,4 @@
const test = require('../../..');
const test = require('ava');

test('works', t => {
t.pass();
Expand Down
7 changes: 7 additions & 0 deletions test/concurrency/fixtures/package.json
@@ -0,0 +1,7 @@
{
"ava": {
"files": [
"*.js"
]
}
}

0 comments on commit 33172dc

Please sign in to comment.