add filtering

This commit is contained in:
konnorrogers
2025-08-07 15:01:11 -04:00
parent 68050f9ff7
commit bd83e25749
2 changed files with 5 additions and 2 deletions

View File

@@ -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\"",

View File

@@ -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("")