Skip to content

Commit

Permalink
remove test.only for a11y tests and added lint
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-kurmanov committed Jan 15, 2024
1 parent 7f88df4 commit f616fef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions accessibilityTests/selectbase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ axeOptions["aria-allowed-role"] = {
enabled: false
};


frameworks.forEach((framework) => {
fixture`${framework} a11y:${title}`.page`${url}${framework}`.beforeEach(
async (t) => {
Expand Down Expand Up @@ -126,7 +125,7 @@ frameworks.forEach((framework) => {
const { error, violations } = await axeCheck(t, axeContext, axeOptions);
await t.expect(violations.length === 0).ok(createReport(violations));
});
test.only("axe check imagepicker", async (t) => {
test("axe check imagepicker", async (t) => {
await initSurvey(framework, {
"elements": [
{
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"dev": "concurrently \"http-server -p 7766 --silent\" \"npm run watch:core:dev\" \"npm run watch:core:prod\" \"npm run watch:ko:ui:dev\" \"npm run watch:react:ui:dev\" \"npm run watch:ko:ui:prod\" \"npm run watch:react:ui:prod\"",
"madge": "madge --circular --extensions ts ./src/",
"pre-push-check": "npm run lint && npm run testsingle",
"lint": "eslint ./src --quiet && eslint ./testCafe --quiet && eslint ./tests --quiet && eslint ./visualRegressionTests --quiet",
"lint": "eslint ./src --quiet && eslint ./testCafe --quiet && eslint ./tests --quiet && eslint ./visualRegressionTests --quiet && eslint ./accessibilityTests --quiet",
"testsingle": "karma start ./build-scripts/karma.conf.js --single-run",
"test:knockout": "karma start ./build-scripts/survey-knockout/karma.conf.knockout.js",
"test:react": "karma start ./build-scripts/survey-react/karma.conf.react.js",
Expand Down

0 comments on commit f616fef

Please sign in to comment.