diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ceec1c47..746b1de0 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -34,6 +34,8 @@ jobs: run: npm run prettier.check - name: Run tests run: npm run test.unit + - name: Clean tree + run: npm run test.clean-tree build: runs-on: ubuntu-20.04 needs: test diff --git a/build/app/public/js/base.js b/build/app/public/js/base.js index 9abce18a..d4471264 100644 --- a/build/app/public/js/base.js +++ b/build/app/public/js/base.js @@ -33055,7 +33055,7 @@ function _default() { var icon = (0, _heroEs.largeHeroIcon)({ status: 'breakage-form' }); - return (0, _bel["default"])(_templateObject || (_templateObject = _taggedTemplateLiteral(["
\n
\n ", "\n
\n
\n ", "\n
\n

", "

\n
\n
\n

", "

\n

", "

\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n \n
\n
\n
\n
\n
"])), (0, _topNav.topNav)({ + return (0, _bel["default"])(_templateObject || (_templateObject = _taggedTemplateLiteral(["
\n
\n ", "\n
\n
\n ", "\n
\n

", "

\n
\n
\n

", "

\n

", "

\n
\n
\n
\n
\n
\n
\n \n
\n \n \n
\n \n
\n
\n
\n
\n
"])), (0, _topNav.topNav)({ view: 'secondary' }), icon, _localize.i18n.t('report:selectTheOptionDesc.title'), _localize.i18n.t('report:thankYou.title'), _localize.i18n.t('report:yourReportWillHelpDesc.title'), _localize.i18n.t('report:pickYourIssueFromTheList.title'), categories.map(function (item) { return (0, _bel["default"])(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral([""])), item.value, item.category); diff --git a/package.json b/package.json index e4b7e95e..a422cc95 100644 --- a/package.json +++ b/package.json @@ -27,6 +27,7 @@ "test.int.headed": "playwright test --headed", "test.int.update-screenshots": "npm run test.int -- --update-snapshots", "test.int-debug": "playwright test --headed --debug", + "test.clean-tree": "npm run build && sh scripts/check-for-changes.sh", "verify.local": "npm run lint.fix; npm run prettier.fix; npm run test.unit; npm run build; npm run docs; npm run test.int" }, "devDependencies": { diff --git a/scripts/check-for-changes.sh b/scripts/check-for-changes.sh new file mode 100644 index 00000000..2c8b6d9a --- /dev/null +++ b/scripts/check-for-changes.sh @@ -0,0 +1,2 @@ +git update-index --refresh +git diff-index --quiet HEAD -- diff --git a/shared/js/ui/templates/breakage-form.es6.js b/shared/js/ui/templates/breakage-form.es6.js index 1d6df98c..b909f939 100644 --- a/shared/js/ui/templates/breakage-form.es6.js +++ b/shared/js/ui/templates/breakage-form.es6.js @@ -45,7 +45,7 @@ export default function () { + )}" maxlength="2500">