stable
Clone or download
Read-only
A limit to the size of a snapshot is enforced via ESLint. A snapshot is supposed to be reviewed, it's not really possible with large snapshots with a lot of changes with each contributions. Incidently, it also encourages the developer to work with smaller components instead of one giant blob. The snapshots are not inspected by the 'no trailing whitespace' pre-commit hook, it is generated code and whitespaces are important in HTML code. Part of request #13789: Move the release widget plugin to Jest Change-Id: I4e5bc18ea54417d9d0223ca10d435397b7aa39be
Modified Files
Name | ||||
---|---|---|---|---|
M | .eslintrc.js | +2 | −1 | Go to diff View file |
M | package-lock.json | +68 | −0 | Go to diff View file |
M | package.json | +1 | −0 | Go to diff View file |
M | plugins/release_widget/scripts/package.json | +1 | −2 | Go to diff View file |
M | plugins/release_widget/scripts/releasewidget/src/components/RoadmapSection/RoadmapSection.test.ts | +1 | −5 | Go to diff View file |
A | plugins/release_widget/scripts/releasewidget/src/components/RoadmapSection/__snapshots__/RoadmapSection.test.ts.snap | +40 | −0 | Go to diff View file |
M | tests/jest/jest.config.js | +1 | −0 | Go to diff View file |
M | tools/utils/githooks/pre-commit-01-no-trailing-whitespace | +1 | −1 | Go to diff View file |