This commit is contained in:
konnorrogers
2025-08-07 15:09:54 -04:00
parent 617209026e
commit e3a03a49af
2 changed files with 6 additions and 7 deletions

View File

@@ -245,7 +245,7 @@ export class WebAwesomeFormAssociatedElement
anchor = this.validationTarget;
}
const validity = this.internals.validity
const validity = this.internals.validity;
this.internals.setValidity(flags, message, anchor || undefined);
this.requestUpdate('validity', validity);
this.setCustomStates();

View File

@@ -114,15 +114,14 @@ 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."
'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('');
const string = args.join("")
return !filteredStrings.includes(string)
return !filteredStrings.includes(string);
},
groups: globbySync('src/**/*.test.ts').map(path => {
const groupName = path.match(/^.*\/(?<fileName>.*)\.test\.ts/).groups.fileName;