mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-12 04:09:12 +00:00
prettier
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user