diff --git a/.changeset/clever-rocks-ring.md b/.changeset/clever-rocks-ring.md new file mode 100644 index 00000000000..a878e800819 --- /dev/null +++ b/.changeset/clever-rocks-ring.md @@ -0,0 +1,5 @@ +--- +"create-fuels": patch +--- + +fix: test ui script in package's json diff --git a/apps/create-fuels-counter-guide/package.json b/apps/create-fuels-counter-guide/package.json index 56d4f41121a..54e3c9c5e19 100644 --- a/apps/create-fuels-counter-guide/package.json +++ b/apps/create-fuels-counter-guide/package.json @@ -4,7 +4,7 @@ "version": "0.1.0", "type": "module", "scripts": { - "test:ui": "./test/ui/test-ui.sh", + "test:ui": "sh ./test/ui/test-ui.sh", "original:dev": "vite", "original:build": "tsc -b && vite build", "original:start": "next start", diff --git a/templates/nextjs/package.json b/templates/nextjs/package.json index 938024bfed4..c3f4fe8b42a 100644 --- a/templates/nextjs/package.json +++ b/templates/nextjs/package.json @@ -10,7 +10,7 @@ "start": "next start", "lint": "next lint", "test": "vitest", - "test:ui": "./test/ui/test-ui.sh" + "test:ui": "sh ./test/ui/test-ui.sh" }, "dependencies": { "@fuels/connectors": "^0.27.1", diff --git a/templates/vite/package.json b/templates/vite/package.json index 948a2eda76f..82ef1849383 100644 --- a/templates/vite/package.json +++ b/templates/vite/package.json @@ -10,7 +10,7 @@ "lint": "eslint .", "fuels:dev": "fuels dev", "test": "vitest", - "test:ui": "./test/ui/test-ui.sh" + "test:ui": "sh ./test/ui/test-ui.sh" }, "dependencies": { "@fuels/connectors": "^0.27.1",