Skip to content

Commit

Permalink
chore: testSetup -> test-setup
Browse files Browse the repository at this point in the history
  • Loading branch information
gjuchault committed Mar 15, 2023
1 parent 23d8ae8 commit c4b8cee
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"test": "vitest run",
"test:watch": "vitest watch",
"test:coverage": "vitest run --coverage",
"test:setup": "tsx ./scripts/testSetup.ts",
"test:setup": "tsx ./scripts/test-setup.ts",
"spell:check": "cspell \"{README.md,CODE_OF_CONDUCT.md,CONTRIBUTING.md,.github/*.md,src/**/*.ts}\"",
"cz": "cz",
"semantic-release": "semantic-release"
Expand Down
4 changes: 2 additions & 2 deletions scripts/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const cspellPath = path.join(rootPath, ".cspell.json");
const packageJsonPath = path.join(rootPath, "package.json");
const contributingPath = path.join(rootPath, "CONTRIBUTING.md");
const setupPath = __filename;
const testSetupPath = path.join(rootPath, "scripts/testSetup.ts");
const testSetupPath = path.join(rootPath, "scripts/test-setup.ts");
const workflowPath = path.join(
rootPath,
".github/workflows/typescript-library-starter.yml"
Expand Down Expand Up @@ -196,7 +196,7 @@ async function cleanup({ packageName }: { packageName: string }) {
);

await logAsyncTask("Removing setup.ts script", fs.rm(setupPath));
await logAsyncTask("Removing testSetup.ts script", fs.rm(testSetupPath));
await logAsyncTask("Removing test-setup.ts script", fs.rm(testSetupPath));
}

async function replaceInFile(
Expand Down
File renamed without changes.

0 comments on commit c4b8cee

Please sign in to comment.