From 90b82543b7c8cf2a7447e472a98f9dbc6081ef93 Mon Sep 17 00:00:00 2001 From: hieu-w Date: Fri, 3 Jan 2025 00:09:20 +0700 Subject: [PATCH] Update browsers test config --- package.json | 8 ++++---- test/{config => configs}/chrome.config.mts | 0 test/{config => configs}/firefox.config.mts | 0 test/{config => configs}/node.config.mts | 0 test/{config => configs}/safari.config.mts | 0 5 files changed, 4 insertions(+), 4 deletions(-) rename test/{config => configs}/chrome.config.mts (100%) rename test/{config => configs}/firefox.config.mts (100%) rename test/{config => configs}/node.config.mts (100%) rename test/{config => configs}/safari.config.mts (100%) diff --git a/package.json b/package.json index feb171d..825aebc 100644 --- a/package.json +++ b/package.json @@ -15,10 +15,10 @@ "lint:ts": "eslint --fix 'src/**/*.ts'", "prepack": "npm run build", "test": "npm run test:node && npm run test:browsers", - "test:node": "vitest run --config test/config/node.config.mts --coverage", - "test:chrome": "vitest run --config test/config/chrome.config.mts --coverage", - "test:firefox": "vitest run --config test/config/firefox.config.mts --coverage", - "test:safari": "vitest run --config test/config/safari.config.mts --coverage", + "test:node": "vitest run --config test/configs/node.config.mts --coverage", + "test:chrome": "vitest run --config test/configs/chrome.config.mts --coverage", + "test:firefox": "vitest run --config test/configs/firefox.config.mts --coverage", + "test:safari": "vitest run --config test/configs/safari.config.mts --coverage", "test:browsers": "npm run test:chrome && npm run test:firefox && npm run test:safari", "prepare": "husky" }, diff --git a/test/config/chrome.config.mts b/test/configs/chrome.config.mts similarity index 100% rename from test/config/chrome.config.mts rename to test/configs/chrome.config.mts diff --git a/test/config/firefox.config.mts b/test/configs/firefox.config.mts similarity index 100% rename from test/config/firefox.config.mts rename to test/configs/firefox.config.mts diff --git a/test/config/node.config.mts b/test/configs/node.config.mts similarity index 100% rename from test/config/node.config.mts rename to test/configs/node.config.mts diff --git a/test/config/safari.config.mts b/test/configs/safari.config.mts similarity index 100% rename from test/config/safari.config.mts rename to test/configs/safari.config.mts