mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
[ci] format
This commit is contained in:
parent
57fafc7c01
commit
ea4d68c0b0
1 changed files with 12 additions and 5 deletions
|
@ -33,7 +33,9 @@ describe.skip('Special chars in component import paths', () => {
|
||||||
|
|
||||||
// Test 2: All components exist
|
// Test 2: All components exist
|
||||||
componentIds.forEach((componentId) => {
|
componentIds.forEach((componentId) => {
|
||||||
expect($(`#${componentId}`), `Component #${componentId} does not exist`).to.have.lengthOf(1);
|
expect($(`#${componentId}`), `Component #${componentId} does not exist`).to.have.lengthOf(
|
||||||
|
1
|
||||||
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
// Test 3: Component contents were rendered properly
|
// Test 3: Component contents were rendered properly
|
||||||
|
@ -54,7 +56,9 @@ describe.skip('Special chars in component import paths', () => {
|
||||||
|
|
||||||
// Test 2: All components exist
|
// Test 2: All components exist
|
||||||
componentIds.forEach((componentId) => {
|
componentIds.forEach((componentId) => {
|
||||||
expect($(`#${componentId}`), `Component #${componentId} does not exist`).to.have.lengthOf(1);
|
expect($(`#${componentId}`), `Component #${componentId} does not exist`).to.have.lengthOf(
|
||||||
|
1
|
||||||
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
// Test 3: Component contents were rendered properly
|
// Test 3: Component contents were rendered properly
|
||||||
|
@ -65,7 +69,6 @@ describe.skip('Special chars in component import paths', () => {
|
||||||
// Test 4: There is an island for each component
|
// Test 4: There is an island for each component
|
||||||
expect($('astro-island[uid]')).to.have.lengthOf(componentIds.length);
|
expect($('astro-island[uid]')).to.have.lengthOf(componentIds.length);
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
if (isWindows) return;
|
if (isWindows) return;
|
||||||
|
@ -90,7 +93,9 @@ describe.skip('Special chars in component import paths', () => {
|
||||||
|
|
||||||
// Test 2: All components exist
|
// Test 2: All components exist
|
||||||
componentIds.forEach((componentId) => {
|
componentIds.forEach((componentId) => {
|
||||||
expect($(`#${componentId}`), `Component #${componentId} does not exist`).to.have.lengthOf(1);
|
expect($(`#${componentId}`), `Component #${componentId} does not exist`).to.have.lengthOf(
|
||||||
|
1
|
||||||
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
// Test 3: Component contents were rendered properly
|
// Test 3: Component contents were rendered properly
|
||||||
|
@ -111,7 +116,9 @@ describe.skip('Special chars in component import paths', () => {
|
||||||
|
|
||||||
// Test 2: All components exist
|
// Test 2: All components exist
|
||||||
componentIds.forEach((componentId) => {
|
componentIds.forEach((componentId) => {
|
||||||
expect($(`#${componentId}`), `Component #${componentId} does not exist`).to.have.lengthOf(1);
|
expect($(`#${componentId}`), `Component #${componentId} does not exist`).to.have.lengthOf(
|
||||||
|
1
|
||||||
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
// Test 3: Component contents were rendered properly
|
// Test 3: Component contents were rendered properly
|
||||||
|
|
Loading…
Reference in a new issue