diff --git a/front/.storybook/preview-head.html b/front/.storybook/preview-head.html new file mode 100644 index 000000000..ea6fb49f7 --- /dev/null +++ b/front/.storybook/preview-head.html @@ -0,0 +1,9 @@ + + \ No newline at end of file diff --git a/front/package.json b/front/package.json index ce682e454..e8d046d88 100644 --- a/front/package.json +++ b/front/package.json @@ -20,7 +20,8 @@ "test": "react-scripts test", "eject": "react-scripts eject", "storybook": "start-storybook -p 6006 -s public", - "build-storybook": "build-storybook -s public" + "build-storybook": "build-storybook -s public", + "coverage": "react-scripts test --coverage" }, "eslintConfig": { "extends": [ @@ -41,6 +42,11 @@ "overrides": { "react-refresh": "0.14.0" }, + "jest": { + "coveragePathIgnorePatterns" : [ + "src/stories" + ] + }, "browserslist": { "production": [ ">0.2%", diff --git a/front/public/index.html b/front/public/index.html index aa069f27c..0b1e7de4a 100644 --- a/front/public/index.html +++ b/front/public/index.html @@ -10,34 +10,14 @@ content="Web site created using create-react-app" /> - - - -