summaryrefslogtreecommitdiff
path: root/tests/specs/run/patch/__test__.jsonc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/specs/run/patch/__test__.jsonc')
-rw-r--r--tests/specs/run/patch/__test__.jsonc25
1 files changed, 25 insertions, 0 deletions
diff --git a/tests/specs/run/patch/__test__.jsonc b/tests/specs/run/patch/__test__.jsonc
new file mode 100644
index 000000000..00ae3baac
--- /dev/null
+++ b/tests/specs/run/patch/__test__.jsonc
@@ -0,0 +1,25 @@
+{
+ "tempDir": true,
+ "tests": {
+ "matching_version": {
+ "cwd": "./my-pkg",
+ "steps": [{
+ "args": "test",
+ "output": "test.out"
+ }, {
+ "args": "lint",
+ "output": "Checked 2 files\n"
+ }]
+ },
+ "not_matching_version": {
+ "steps": [{
+ "args": "run --allow-read=. --allow-write=. modify_version.ts",
+ "output": "[WILDCARD]"
+ }, {
+ "cwd": "./my-pkg",
+ "args": "test",
+ "output": "not_matching_version.out"
+ }]
+ }
+ }
+}