Skip to content

Commit ac5227b

Browse files
committed
chore: update tests
1 parent cd822f8 commit ac5227b

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

packages/analyzer/fixtures/07-plugin-lit/03-mixin-static-properties/fixture/custom-elements.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414
{
1515
"kind": "field",
1616
"name": "firstName",
17+
"privacy": "public",
1718
"type": {
1819
"text": "string"
1920
},
2021
"default": "'John'",
21-
"privacy": "public",
2222
"attribute": "firstName"
2323
},
2424
{
@@ -28,7 +28,7 @@
2828
"text": "object"
2929
},
3030
"static": true,
31-
"default": "{\n disabled: { type: Boolean }\n }",
31+
"default": "{ disabled: { type: Boolean } }",
3232
"inheritedFrom": {
3333
"name": "InputMixin",
3434
"module": "my-element.js"
@@ -37,11 +37,11 @@
3737
{
3838
"kind": "field",
3939
"name": "disabled",
40+
"privacy": "public",
4041
"type": {
4142
"text": "boolean"
4243
},
4344
"default": "false",
44-
"privacy": "public",
4545
"attribute": "disabled",
4646
"inheritedFrom": {
4747
"name": "InputMixin",
@@ -96,17 +96,17 @@
9696
"text": "object"
9797
},
9898
"static": true,
99-
"default": "{\n disabled: { type: Boolean }\n }"
99+
"default": "{ disabled: { type: Boolean } }"
100100
},
101101
{
102102
"kind": "field",
103103
"name": "disabled",
104+
"privacy": "public",
104105
"type": {
105106
"text": "boolean"
106107
},
107108
"default": "false",
108-
"attribute": "disabled",
109-
"privacy": "public"
109+
"attribute": "disabled"
110110
}
111111
],
112112
"attributes": [
@@ -146,4 +146,4 @@
146146
]
147147
}
148148
]
149-
}
149+
}

packages/analyzer/fixtures/07-plugin-lit/03-mixin-static-properties/output.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"text": "object"
2929
},
3030
"static": true,
31-
"default": "{\n disabled: { type: Boolean }\n }",
31+
"default": "{ disabled: { type: Boolean } }",
3232
"inheritedFrom": {
3333
"name": "InputMixin",
3434
"module": "my-element.js"
@@ -96,7 +96,7 @@
9696
"text": "object"
9797
},
9898
"static": true,
99-
"default": "{\n disabled: { type: Boolean }\n }"
99+
"default": "{ disabled: { type: Boolean } }"
100100
},
101101
{
102102
"kind": "field",

packages/analyzer/fixtures/07-plugin-lit/04-collapsed-mixins-static-properties/fixture/custom-elements.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"text": "object"
2929
},
3030
"static": true,
31-
"default": "{\n mixB: { type: Boolean },\n }",
31+
"default": "{ mixB: { type: Boolean }, }",
3232
"inheritedFrom": {
3333
"name": "MixinA",
3434
"module": "my-element.js"
@@ -149,4 +149,4 @@
149149
]
150150
}
151151
]
152-
}
152+
}

packages/analyzer/fixtures/07-plugin-lit/04-collapsed-mixins-static-properties/output.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"text": "object"
2929
},
3030
"static": true,
31-
"default": "{\n mixB: { type: Boolean },\n }",
31+
"default": "{ mixB: { type: Boolean }, }",
3232
"inheritedFrom": {
3333
"name": "MixinA",
3434
"module": "my-element.js"

0 commit comments

Comments
 (0)