Skip to content

Commit 17845f9

Browse files
committed
chore: move tests
1 parent 3f8b1b8 commit 17845f9

File tree

7 files changed

+2
-17
lines changed

7 files changed

+2
-17
lines changed

tests/test.ts renamed to e2e/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import * as assert from 'uvu/assert';
66
import { xmlValidator } from '../src/index.ts';
77

88
function resolveFixture(fileName: string): string {
9-
return resolve(process.cwd(), `tests/fixtures/${fileName}`);
9+
return resolve(process.cwd(), `e2e/fixtures/${fileName}`);
1010
}
1111

1212
test('should emit error on streamed file', async () => {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
"lint:publint": "publint",
6565
"prepack": "npm run build",
6666
"prepare": "lefthook install",
67-
"test": "uvu -r tsm tests"
67+
"test": "uvu -r tsm e2e"
6868
},
6969
"packageManager": "pnpm@10.17.0+sha512.fce8a3dd29a4ed2ec566fb53efbb04d8c44a0f05bc6f24a73046910fb9c3ce7afa35a0980500668fa3573345bd644644fa98338fa168235c80f4aa17aa17fbef"
7070
}

tests/fixtures/invalid_tag.xml

Lines changed: 0 additions & 3 deletions
This file was deleted.

tests/fixtures/mismatching_tags.xml

Lines changed: 0 additions & 3 deletions
This file was deleted.

tests/fixtures/missing_close_tag.xml

Lines changed: 0 additions & 3 deletions
This file was deleted.

tests/fixtures/missing_quote.xml

Lines changed: 0 additions & 3 deletions
This file was deleted.

tests/fixtures/valid.xml

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)