From 070f9f2d6b4932728b226931cf5110b59d5bfa58 Mon Sep 17 00:00:00 2001 From: Turadg Aleahmad Date: Thu, 14 Dec 2023 10:28:27 -0800 Subject: [PATCH] test: inherit Ava config --- packages/ERTP/package.json | 2 +- packages/SwingSet/package.json | 2 +- packages/boot/package.json | 2 +- packages/zoe/package.json | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/ERTP/package.json b/packages/ERTP/package.json index 47585342f79..0dc951e2e1d 100644 --- a/packages/ERTP/package.json +++ b/packages/ERTP/package.json @@ -15,7 +15,7 @@ "test:c8": "c8 $C8_OPTIONS ava", "test:xs": "yarn test:xs-unit && yarn test:xs-worker", "test:xs-unit": "ava-xs", - "test:xs-worker": "SWINGSET_WORKER_TYPE=xs-worker ava -c 2 'test/swingsetTests/**/test-*.js'", + "test:xs-worker": "SWINGSET_WORKER_TYPE=xs-worker ava -c 2 test/swingsetTests", "lint-fix": "yarn lint:eslint --fix", "lint": "run-s --continue-on-error lint:*", "lint:eslint": "eslint .", diff --git a/packages/SwingSet/package.json b/packages/SwingSet/package.json index a2985df7de3..26e9af3cf11 100644 --- a/packages/SwingSet/package.json +++ b/packages/SwingSet/package.json @@ -14,7 +14,7 @@ "build": "exit 0", "test": "ava", "test:xs": "SWINGSET_WORKER_TYPE=xs-worker ava", - "test:xs-worker": "ava test/workers/test-worker.js -m 'xsnap vat manager'", + "test:xs-worker": "ava test/workers -m 'xsnap vat manager'", "lint-fix": "yarn lint:eslint --fix", "lint": "run-s --continue-on-error lint:*", "lint:types": "tsc", diff --git a/packages/boot/package.json b/packages/boot/package.json index aedb926b1f5..d1d2f20c12e 100644 --- a/packages/boot/package.json +++ b/packages/boot/package.json @@ -8,7 +8,7 @@ "scripts": { "build": "exit 0", "test": "ava", - "test:xs": "SWINGSET_WORKER_TYPE=xs-worker ava 'test/bootstrapTests/**/test-*.js' 'test/upgrading/**/test-*.js'", + "test:xs": "SWINGSET_WORKER_TYPE=xs-worker ava test/bootstrapTests test/upgrading", "lint-fix": "yarn lint:eslint --fix", "lint": "run-s --continue-on-error lint:*", "lint:types": "tsc", diff --git a/packages/zoe/package.json b/packages/zoe/package.json index 3eac2e2f9d6..6057ce99442 100644 --- a/packages/zoe/package.json +++ b/packages/zoe/package.json @@ -14,11 +14,11 @@ "postpack": "git clean -f '*.d.ts*'", "test": "ava --verbose", "test:c8": "c8 $C8_OPTIONS ava --config=ava-nesm.config.js", - "test:unit": "ava 'test/unitTests/**/test-*.js' -T 1m --verbose", - "test:swingset": "ava 'test/swingsetTests/**/test-*.js' -T 10m --verbose", + "test:unit": "ava 'test/unitTests' -T 1m --verbose", + "test:swingset": "ava 'test/swingsetTests' -T 10m --verbose", "test:xs": "yarn test:xs-unit", "test:xs-unit": "ava-xs --verbose", - "test:xs-worker": "SWINGSET_WORKER_TYPE=xs-worker ava -c 2 'test/swingsetTests/**/test-*.js'", + "test:xs-worker": "SWINGSET_WORKER_TYPE=xs-worker ava -c 2 'test/swingsetTests'", "build-zcfBundle": "yarn build:bundles", "lint-fix": "yarn lint:eslint --fix", "lint": "run-s --continue-on-error lint:*",