Skip to content

Commit 6b1cee9

Browse files
committed
chore: clean up
1 parent 14d5157 commit 6b1cee9

File tree

7 files changed

+27
-36
lines changed

7 files changed

+27
-36
lines changed
Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
{
2-
"success": 24,
2+
"success": 24,
3+
"failed": 8,
4+
"skipped": 0,
5+
"error": false,
6+
"disconnected": false,
7+
"exitCode": 1,
8+
"score": 89,
9+
"basicSupport": {
10+
"total": 16,
11+
"failed": 0,
12+
"passed": 16
13+
},
14+
"advancedSupport": {
15+
"total": 16,
316
"failed": 8,
4-
"skipped": 0,
5-
"error": false,
6-
"disconnected": false,
7-
"exitCode": 1,
8-
"score": 89,
9-
"basicSupport": {
10-
"total": 16,
11-
"failed": 0,
12-
"passed": 16
13-
},
14-
"advancedSupport": {
15-
"total": 16,
16-
"failed": 8,
17-
"passed": 8
18-
}
17+
"passed": 8
18+
}
1919
}

libraries/lwc/meta/issues.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[
2-
{
3-
"link": "https://github.com/salesforce/lwc/issues/1904",
4-
"title": "Unnecessary event name restrictions (such as prohibiting hyphens) should be removed",
5-
"meta": "#1904 opened May 28, 2020 by JanMiksovsky"
6-
}
7-
]
2+
{
3+
"link": "https://github.com/salesforce/lwc/issues/1904",
4+
"title": "Unnecessary event name restrictions (such as prohibiting hyphens) should be removed",
5+
"meta": "#1904 opened May 28, 2020 by JanMiksovsky"
6+
}
7+
]

libraries/lwc/src/advanced-tests.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,6 @@ import {
2222

2323
import { expect } from 'chai';
2424

25-
const isCustomElement = (tagName) => {
26-
return window.customElements.get(tagName) !== undefined;
27-
}
28-
2925
// Setup the test harness. This will get cleaned out with every test.
3026
const container = document.createElement('div');
3127
document.body.appendChild(container);
@@ -87,7 +83,6 @@ describe('advanced support', function() {
8783

8884
cmp.shadowRoot.querySelector('ce-with-event').click();
8985
await Promise.resolve();
90-
9186
expect(handled.textContent).to.eql('true');
9287
});
9388

@@ -101,7 +96,6 @@ describe('advanced support', function() {
10196

10297
cmp.shadowRoot.querySelector('ce-with-event').click();
10398
await Promise.resolve();
104-
10599
expect(handled.textContent).to.eql('true');
106100
});
107101

@@ -115,7 +109,6 @@ describe('advanced support', function() {
115109

116110
cmp.shadowRoot.querySelector('ce-with-event').click();
117111
await Promise.resolve();
118-
119112
expect(handled.textContent).to.eql('true');
120113
});
121114

@@ -129,7 +122,6 @@ describe('advanced support', function() {
129122

130123
cmp.shadowRoot.querySelector('ce-with-event').click();
131124
await Promise.resolve();
132-
133125
expect(handled.textContent).to.eql('true');
134126
});
135127

@@ -143,7 +135,6 @@ describe('advanced support', function() {
143135

144136
cmp.shadowRoot.querySelector('ce-with-event').click();
145137
await Promise.resolve();
146-
147138
expect(handled.textContent).to.eql('true');
148139
});
149140
});

libraries/lwc/src/basic-tests.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,9 @@ describe('basic support', function() {
9898
const elm = cmp.shadowRoot.querySelector('#dummy');
9999
expect(elm).to.exist;
100100
expect(elm.textContent).to.eql('Dummy view');
101+
101102
toggler.click();
102103
await Promise.resolve();
103-
104104
expectHasChildren(cmp.shadowRoot.querySelector('ce-with-children'));
105105
});
106106
});
@@ -182,9 +182,9 @@ describe('basic support', function() {
182182

183183
const handled = cmp.shadowRoot.querySelector('.handled');
184184
expect(handled.textContent).to.eql('false');
185+
185186
cmp.shadowRoot.querySelector('ce-with-event').click();
186187
await Promise.resolve();
187-
188188
expect(handled.textContent).to.eql('true');
189189
});
190190
});
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
<template>
2-
<ce-with-children id="wc" lwc:external></ce-with-children>
2+
<ce-with-children lwc:external></ce-with-children>
33
</template>

libraries/lwc/src/modules/x/withProperties/withProperties.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<ce-with-properties id="wc" lwc:external
2+
<ce-with-properties lwc:external
33
bool={bool}
44
num={num}
55
str={str}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
<template>
2-
<ce-without-children id="wc" lwc:external></ce-without-children>
2+
<ce-without-children lwc:external></ce-without-children>
33
</template>

0 commit comments

Comments
 (0)