From 2edd9ea0db0e3b930e0059fbdbf813bb23a05915 Mon Sep 17 00:00:00 2001 From: Mohamed Khelif Date: Fri, 19 Jan 2024 13:50:33 -0500 Subject: [PATCH] Rename file --- .evergreen.yml | 4 ++-- package.json | 2 +- src/{storybook.test.ts => snapshot.test.ts} | 0 3 files changed, 3 insertions(+), 3 deletions(-) rename src/{storybook.test.ts => snapshot.test.ts} (100%) diff --git a/.evergreen.yml b/.evergreen.yml index 6dc2f03761..03046c341d 100644 --- a/.evergreen.yml +++ b/.evergreen.yml @@ -180,7 +180,7 @@ functions: working_dir: spruce script: | ${PREPARE_SHELL} - yarn test --reporters=default --reporters=jest-junit --testPathIgnorePatterns=storybook.test.ts + yarn test --reporters=default --reporters=jest-junit --testPathIgnorePatterns=snapshot.test.ts yarn-eslint: command: shell.exec @@ -221,7 +221,7 @@ functions: working_dir: spruce script: | ${PREPARE_SHELL} - yarn test --reporters="jest-junit" --reporters="default" --testPathPattern="storybook.test.ts" + yarn test --reporters="jest-junit" --reporters="default" --testPathPattern="snapshot.test.ts" check-codegen: command: shell.exec diff --git a/package.json b/package.json index cbc06af97e..b1864843e2 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "prettier": "prettier --write", "prod": "env-cmd -e devProduction -r .env-cmdrc.local.json yarn start", "serve": "node scripts/prod-server.js", - "snapshot": "jest storybook.test.ts --watchAll=false", + "snapshot": "jest snapshot.test.ts --watchAll=false", "staging": "env-cmd -e devStaging -r .env-cmdrc.local.json yarn start", "start": "vite", "storybook": "storybook dev -p 6006", diff --git a/src/storybook.test.ts b/src/snapshot.test.ts similarity index 100% rename from src/storybook.test.ts rename to src/snapshot.test.ts