diff options
Diffstat (limited to 'tests/specs/test/test_with_glob_config')
16 files changed, 63 insertions, 0 deletions
diff --git a/tests/specs/test/test_with_glob_config/__test__.jsonc b/tests/specs/test/test_with_glob_config/__test__.jsonc new file mode 100644 index 000000000..9e2deabf9 --- /dev/null +++ b/tests/specs/test/test_with_glob_config/__test__.jsonc @@ -0,0 +1,5 @@ +{ + "args": "test --config deno.glob.json", + "output": "main.out", + "exitCode": 0 +} diff --git a/tests/specs/test/test_with_glob_config/deno.glob.json b/tests/specs/test/test_with_glob_config/deno.glob.json new file mode 100644 index 000000000..9deb4d2f2 --- /dev/null +++ b/tests/specs/test/test_with_glob_config/deno.glob.json @@ -0,0 +1,11 @@ +{ + "test": { + "include": [ + "glob/data/test1.?s", + "glob/nested/foo/*.ts", + "glob/nested/fizz/*.ts", + "glob/pages/[id].ts" + ], + "exclude": ["glob/nested/**/*bazz.ts"] + } +} diff --git a/tests/specs/test/test_with_glob_config/glob/data/tes.ts b/tests/specs/test/test_with_glob_config/glob/data/tes.ts new file mode 100644 index 000000000..6940729e9 --- /dev/null +++ b/tests/specs/test/test_with_glob_config/glob/data/tes.ts @@ -0,0 +1,2 @@ +function foo() { +} diff --git a/tests/specs/test/test_with_glob_config/glob/data/test1.js b/tests/specs/test/test_with_glob_config/glob/data/test1.js new file mode 100644 index 000000000..6940729e9 --- /dev/null +++ b/tests/specs/test/test_with_glob_config/glob/data/test1.js @@ -0,0 +1,2 @@ +function foo() { +} diff --git a/tests/specs/test/test_with_glob_config/glob/data/test1.ts b/tests/specs/test/test_with_glob_config/glob/data/test1.ts new file mode 100644 index 000000000..6940729e9 --- /dev/null +++ b/tests/specs/test/test_with_glob_config/glob/data/test1.ts @@ -0,0 +1,2 @@ +function foo() { +} diff --git a/tests/specs/test/test_with_glob_config/glob/data/test12.ts b/tests/specs/test/test_with_glob_config/glob/data/test12.ts new file mode 100644 index 000000000..6940729e9 --- /dev/null +++ b/tests/specs/test/test_with_glob_config/glob/data/test12.ts @@ -0,0 +1,2 @@ +function foo() { +} diff --git a/tests/specs/test/test_with_glob_config/glob/nested/fizz/bar.ts b/tests/specs/test/test_with_glob_config/glob/nested/fizz/bar.ts new file mode 100644 index 000000000..6940729e9 --- /dev/null +++ b/tests/specs/test/test_with_glob_config/glob/nested/fizz/bar.ts @@ -0,0 +1,2 @@ +function foo() { +} diff --git a/tests/specs/test/test_with_glob_config/glob/nested/fizz/bazz.ts b/tests/specs/test/test_with_glob_config/glob/nested/fizz/bazz.ts new file mode 100644 index 000000000..6940729e9 --- /dev/null +++ b/tests/specs/test/test_with_glob_config/glob/nested/fizz/bazz.ts @@ -0,0 +1,2 @@ +function foo() { +} diff --git a/tests/specs/test/test_with_glob_config/glob/nested/fizz/fizz.ts b/tests/specs/test/test_with_glob_config/glob/nested/fizz/fizz.ts new file mode 100644 index 000000000..6940729e9 --- /dev/null +++ b/tests/specs/test/test_with_glob_config/glob/nested/fizz/fizz.ts @@ -0,0 +1,2 @@ +function foo() { +} diff --git a/tests/specs/test/test_with_glob_config/glob/nested/fizz/foo.ts b/tests/specs/test/test_with_glob_config/glob/nested/fizz/foo.ts new file mode 100644 index 000000000..6940729e9 --- /dev/null +++ b/tests/specs/test/test_with_glob_config/glob/nested/fizz/foo.ts @@ -0,0 +1,2 @@ +function foo() { +} diff --git a/tests/specs/test/test_with_glob_config/glob/nested/foo/bar.ts b/tests/specs/test/test_with_glob_config/glob/nested/foo/bar.ts new file mode 100644 index 000000000..6940729e9 --- /dev/null +++ b/tests/specs/test/test_with_glob_config/glob/nested/foo/bar.ts @@ -0,0 +1,2 @@ +function foo() { +} diff --git a/tests/specs/test/test_with_glob_config/glob/nested/foo/bazz.ts b/tests/specs/test/test_with_glob_config/glob/nested/foo/bazz.ts new file mode 100644 index 000000000..6940729e9 --- /dev/null +++ b/tests/specs/test/test_with_glob_config/glob/nested/foo/bazz.ts @@ -0,0 +1,2 @@ +function foo() { +} diff --git a/tests/specs/test/test_with_glob_config/glob/nested/foo/fizz.ts b/tests/specs/test/test_with_glob_config/glob/nested/foo/fizz.ts new file mode 100644 index 000000000..6940729e9 --- /dev/null +++ b/tests/specs/test/test_with_glob_config/glob/nested/foo/fizz.ts @@ -0,0 +1,2 @@ +function foo() { +} diff --git a/tests/specs/test/test_with_glob_config/glob/nested/foo/foo.ts b/tests/specs/test/test_with_glob_config/glob/nested/foo/foo.ts new file mode 100644 index 000000000..6940729e9 --- /dev/null +++ b/tests/specs/test/test_with_glob_config/glob/nested/foo/foo.ts @@ -0,0 +1,2 @@ +function foo() { +} diff --git a/tests/specs/test/test_with_glob_config/glob/pages/[id].ts b/tests/specs/test/test_with_glob_config/glob/pages/[id].ts new file mode 100644 index 000000000..6940729e9 --- /dev/null +++ b/tests/specs/test/test_with_glob_config/glob/pages/[id].ts @@ -0,0 +1,2 @@ +function foo() { +} diff --git a/tests/specs/test/test_with_glob_config/main.out b/tests/specs/test/test_with_glob_config/main.out new file mode 100644 index 000000000..fbff4d934 --- /dev/null +++ b/tests/specs/test/test_with_glob_config/main.out @@ -0,0 +1,21 @@ +Check [WILDCARD]/glob/pages/[id].ts +Check [WILDCARD]/glob/data/test1.js +Check [WILDCARD]/glob/data/test1.ts +Check [WILDCARD]/glob/nested/fizz/bar.ts +Check [WILDCARD]/glob/nested/fizz/fizz.ts +Check [WILDCARD]/glob/nested/fizz/foo.ts +Check [WILDCARD]/glob/nested/foo/bar.ts +Check [WILDCARD]/glob/nested/foo/fizz.ts +Check [WILDCARD]/glob/nested/foo/foo.ts +running 0 tests from ./glob/pages/[id].ts +running 0 tests from ./glob/data/test1.js +running 0 tests from ./glob/data/test1.ts +running 0 tests from ./glob/nested/fizz/bar.ts +running 0 tests from ./glob/nested/fizz/fizz.ts +running 0 tests from ./glob/nested/fizz/foo.ts +running 0 tests from ./glob/nested/foo/bar.ts +running 0 tests from ./glob/nested/foo/fizz.ts +running 0 tests from ./glob/nested/foo/foo.ts + +ok | 0 passed | 0 failed ([WILDCARD]) + |
