[ci] format

This commit is contained in:
matthewp 2022-04-13 12:45:17 +00:00 committed by github-actions[bot]
parent 5acf77dd22
commit 16e0ada70f
3 changed files with 8 additions and 6 deletions

View file

@ -331,7 +331,9 @@ function resolveFlags(flags: Partial<Flags>): CLIFlags {
typeof flags.host === 'string' || typeof flags.host === 'boolean' ? flags.host : undefined,
experimentalSsr: typeof flags.experimentalSsr === 'boolean' ? flags.experimentalSsr : undefined,
experimentalIntegrations:
typeof flags.experimentalIntegrations === 'boolean' ? flags.experimentalIntegrations : undefined,
typeof flags.experimentalIntegrations === 'boolean'
? flags.experimentalIntegrations
: undefined,
drafts: typeof flags.drafts === 'boolean' ? flags.drafts : false,
};
}

View file

@ -9,8 +9,8 @@ describe('Custom Elements', () => {
fixture = await loadFixture({
root: './fixtures/custom-elements/',
experimental: {
integrations: true
}
integrations: true,
},
});
await fixture.build();
});

View file

@ -2,9 +2,9 @@ import * as _ from './utils'
export class Element extends Node {
constructor() {
super();
if(_.INTERNALS.has(new.target)) {
super()
if (_.INTERNALS.has(new.target)) {
const internals = _.internalsOf(new.target, 'Element', 'localName')
_.INTERNALS.set(this, {
attributes: {},