[ci] format
This commit is contained in:
parent
5acf77dd22
commit
16e0ada70f
3 changed files with 8 additions and 6 deletions
|
@ -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,
|
||||
};
|
||||
}
|
||||
|
|
|
@ -9,8 +9,8 @@ describe('Custom Elements', () => {
|
|||
fixture = await loadFixture({
|
||||
root: './fixtures/custom-elements/',
|
||||
experimental: {
|
||||
integrations: true
|
||||
}
|
||||
integrations: true,
|
||||
},
|
||||
});
|
||||
await fixture.build();
|
||||
});
|
||||
|
|
|
@ -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: {},
|
||||
|
|
Loading…
Reference in a new issue