mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-12 04:09:12 +00:00
add filtering
This commit is contained in:
@@ -56,7 +56,7 @@
|
||||
"create": "plop --plopfile scripts/plop/plopfile.js",
|
||||
"test": "CSR_ONLY=\"true\" web-test-runner --group default",
|
||||
"test:component": "CSR_ONLY=\"true\" web-test-runner -- --watch --group",
|
||||
"test:watch": "web-test-runner --watch --group default",
|
||||
"test:watch": "CSR_ONLY=\"true\" web-test-runner --watch --group default",
|
||||
"prettier": "prettier --check --log-level=warn --ignore-path=\"../../.prettierignore\" .",
|
||||
"prettier:fix": "prettier --write --log-level=warn --ignore-path=\"../../.prettierignore\" .",
|
||||
"spellcheck": "cspell \"**/*.{js,ts,json,html,css,md}\" --no-progress --config=\"../../cspell.json\"",
|
||||
|
||||
@@ -114,7 +114,10 @@ export default {
|
||||
// then you can run `npm run test -- --group split-panel` to run only that component's tests.
|
||||
filterBrowserLogs: ({ type, args }) => {
|
||||
const filteredStrings = [
|
||||
"Lit is in dev mode. Not recommended for production! See https://lit.dev/msg/dev-mode for more information."
|
||||
"Lit is in dev mode. Not recommended for production! See https://lit.dev/msg/dev-mode for more information.",
|
||||
// This is expected because `formControlBaseTests` is loading its own version of Lit for templating, and we're not using the NPM version of Web Awesome to run the tests.
|
||||
"Multiple versions of Lit loaded. Loading multiple versions is not recommended. See https://lit.dev/msg/multiple-versions for more information."
|
||||
|
||||
]
|
||||
|
||||
const string = args.join("")
|
||||
|
||||
Reference in New Issue
Block a user