diff --git a/Makefile b/Makefile
index 9da13cd..7e15049 100644
--- a/Makefile
+++ b/Makefile
@@ -8,11 +8,11 @@ build: build-dist build-test
build-dist:
npx rollup -c
-build-test: test/fetch/api.spec.js
+build-test: test/fetch-api/api.spec.js
npx tsc
browser:
- ./bin/server --exec "npx open-cli http://localhost:8000/test/fetch/browser/"
+ ./bin/server --exec "npx open-cli http://localhost:8000/test/fetch-api/browser/"
commitlint: node_modules
npx commitlint --from origin/main --to HEAD --verbose
@@ -37,32 +37,32 @@ test: test-fetch test-module
test-fetch: test-fetch-browser test-fetch-whatwg test-fetch-node
test-fetch-browser: build
- ./test/fetch/browser/run.sh
+ ./test/fetch-api/browser/run.sh
test-fetch-whatwg: build
- ./test/fetch/whatwg/run.sh
+ ./test/fetch-api/whatwg/run.sh
test-fetch-node: build
- ./test/fetch/node/run.sh
+ ./test/fetch-api/node/run.sh
test-module: test-module-web-cjs test-module-web-esm test-module-node-cjs test-module-node-esm test-module-react-native
test-module-web-cjs: build
- ./test/module/web.cjs/run.sh
+ ./test/module-system/web.cjs/run.sh
test-module-web-esm: build
- ./test/module/web.esm/run.sh
+ ./test/module-system/web.esm/run.sh
test-module-node-cjs: build
- ./test/module/node.cjs/run.sh
+ ./test/module-system/node.cjs/run.sh
test-module-node-esm: build
- ./test/module/node.esm/run.sh
+ ./test/module-system/node.esm/run.sh
test-module-react-native: build
- ./test/module/react-native/run.sh
+ ./test/module-system/react-native/run.sh
typecheck:
- npx tsc --lib ES6 --noEmit index.d.ts ./test/fetch/api.spec.ts
+ npx tsc --lib ES6 --noEmit index.d.ts ./test/fetch-api/api.spec.ts
.PHONY: all build deploy lint test test-fetch test-fetch-browser test-fetch-whatwg test-fetch-node test-module test-module-web-cjs test-module-web-esm test-module-node-cjs test-module-node-esm test-module-react-native typecheck
diff --git a/test/fetch/api.spec.js b/test/fetch-api/api.spec.js
similarity index 100%
rename from test/fetch/api.spec.js
rename to test/fetch-api/api.spec.js
diff --git a/test/fetch/api.spec.ts b/test/fetch-api/api.spec.ts
similarity index 100%
rename from test/fetch/api.spec.ts
rename to test/fetch-api/api.spec.ts
diff --git a/test/fetch/browser/index.html b/test/fetch-api/browser/index.html
similarity index 92%
rename from test/fetch/browser/index.html
rename to test/fetch-api/browser/index.html
index dcb8c2f..0c68368 100644
--- a/test/fetch/browser/index.html
+++ b/test/fetch-api/browser/index.html
@@ -18,7 +18,7 @@
-
+
-
+