Skip to content

Commit

Permalink
chore(deps): update dependency @web/test-runner-visual-regression to …
Browse files Browse the repository at this point in the history
…v0.6.1
  • Loading branch information
Westbrook committed Jul 8, 2021
1 parent 0846792 commit 4d84066
Show file tree
Hide file tree
Showing 4 changed files with 233 additions and 21 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ tsconfig.tsbuildinfo
/*/dist
/*/tsc-out

/*/screenshots
/*/screenshots
245 changes: 227 additions & 18 deletions visual-regression/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion visual-regression/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"scripts": {
"start": "web-dev-server --open demo/ --node-resolve",
"start:watch": "web-dev-server --open demo/ --node-resolve --watch",
"pretest": "web-test-runner test/**/*.test.js --coverage --node-resolve --update-visual-baseline",
"test": "web-test-runner test/**/*.test.js --coverage --node-resolve",
"test:watch": "web-test-runner test/**/*.test.js --node-resolve --watch"
},
Expand All @@ -21,6 +22,6 @@
"@open-wc/testing": "2.5.33",
"@web/dev-server": "0.1.18",
"@web/test-runner": "0.13.13",
"@web/test-runner-visual-regression": "0.4.1"
"@web/test-runner-visual-regression": "0.6.1"
}
}
4 changes: 3 additions & 1 deletion visual-regression/web-test-runner.config.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import { visualRegressionPlugin } from "@web/test-runner-visual-regression/plugin";

export default {
plugins: [visualRegressionPlugin()],
plugins: [visualRegressionPlugin({
update: process.argv.includes('--update-visual-baseline'),
})],
};

0 comments on commit 4d84066

Please sign in to comment.