Skip to content

Commit

Permalink
Merge pull request #20 from jasonwilliams/fixTests
Browse files Browse the repository at this point in the history
Update TypeScript and update tests
  • Loading branch information
jasonwilliams authored Dec 11, 2023
2 parents 915ff5a + 4d613ea commit a0d66c4
Show file tree
Hide file tree
Showing 6 changed files with 1,304 additions and 687 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## 1.0.1 - December 11, 2023

- Add support for `@container` queries by updating the CSS language service
- Update TypeScript and other dependencies

## 1.0.0 - April 3, 2023

Expand Down
81 changes: 21 additions & 60 deletions e2e/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"author": "",
"license": "ISC",
"dependencies": {
"typescript": "^4.9.3",
"typescript": "^5.3.3",
"@styled/typescript-styled-plugin": "file:./.."
}
}
22 changes: 11 additions & 11 deletions e2e/tests/completions.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ describe('Completions', () => {
return server.close().then(() => {
const completionsResponse = getFirstResponseOfType('completions', server);
assert.isTrue(completionsResponse.success);
assert.strictEqual(completionsResponse.body.length, 160);
assert.strictEqual(completionsResponse.body.length, 175);
assert.isTrue(completionsResponse.body.some((item) => item.name === 'aliceblue'));
assert.isTrue(completionsResponse.body.some((item) => item.name === 'rgba'));
});
Expand All @@ -43,7 +43,7 @@ describe('Completions', () => {
return server.close().then(() => {
const completionsResponse = getFirstResponseOfType('completions', server);
assert.isTrue(completionsResponse.success);
assert.strictEqual(completionsResponse.body.length, 160);
assert.strictEqual(completionsResponse.body.length, 175);
assert.isTrue(completionsResponse.body.some((item) => item.name === 'aliceblue'));
});
});
Expand All @@ -55,7 +55,7 @@ describe('Completions', () => {
return server.close().then(() => {
const completionsResponse = getFirstResponseOfType('completions', server);
assert.isTrue(completionsResponse.success);
assert.strictEqual(completionsResponse.body.length, 160);
assert.strictEqual(completionsResponse.body.length, 175);
assert.isTrue(completionsResponse.body.some((item) => item.name === 'aliceblue'));
});
});
Expand All @@ -78,7 +78,7 @@ describe('Completions', () => {
return server.close().then(() => {
const completionsResponse = getFirstResponseOfType('completions', server);
assert.isTrue(completionsResponse.success);
assert.strictEqual(completionsResponse.body.length, 160);
assert.strictEqual(completionsResponse.body.length, 175);
assert.isTrue(completionsResponse.body.some((item) => item.name === 'aliceblue'));
});
});
Expand All @@ -90,7 +90,7 @@ describe('Completions', () => {
return server.close().then(() => {
const completionsResponse = getFirstResponseOfType('completions', server);
assert.isTrue(completionsResponse.success);
assert.strictEqual(completionsResponse.body.length, 160);
assert.strictEqual(completionsResponse.body.length, 175);
assert.isTrue(completionsResponse.body.some((item) => item.name === 'aliceblue'));
});
});
Expand All @@ -102,7 +102,7 @@ describe('Completions', () => {
return server.close().then(() => {
const completionsResponse = getFirstResponseOfType('completions', server);
assert.isTrue(completionsResponse.success);
assert.strictEqual(completionsResponse.body.length, 160);
assert.strictEqual(completionsResponse.body.length, 175);
assert.isTrue(completionsResponse.body.some((item) => item.name === 'aliceblue'));
});
});
Expand All @@ -114,7 +114,7 @@ describe('Completions', () => {
return server.close().then(() => {
const completionsResponse = getFirstResponseOfType('completions', server);
assert.isTrue(completionsResponse.success);
assert.strictEqual(completionsResponse.body.length, 160);
assert.strictEqual(completionsResponse.body.length, 175);
assert.isTrue(completionsResponse.body.some((item) => item.name === 'aliceblue'));
});
});
Expand Down Expand Up @@ -181,7 +181,7 @@ describe('Completions', () => {
return server.close().then(() => {
const completionsResponse = getFirstResponseOfType('completions', server);
assert.isTrue(completionsResponse.success);
assert.strictEqual(completionsResponse.body.length, 160);
assert.strictEqual(completionsResponse.body.length, 175);
assert.isTrue(completionsResponse.body.some((item) => item.name === 'aliceblue'));
});
});
Expand All @@ -195,7 +195,7 @@ describe('Completions', () => {
return server.close().then(() => {
const completionsResponse = getFirstResponseOfType('completions', server);
assert.isTrue(completionsResponse.success);
assert.strictEqual(completionsResponse.body.length, 160);
assert.strictEqual(completionsResponse.body.length, 175);
assert.isTrue(completionsResponse.body.some((item) => item.name === 'aliceblue'));
});
});
Expand All @@ -207,7 +207,7 @@ describe('Completions', () => {
return server.close().then(() => {
const completionsResponse = getFirstResponseOfType('completions', server);
assert.isTrue(completionsResponse.success);
assert.strictEqual(completionsResponse.body.length, 160);
assert.strictEqual(completionsResponse.body.length, 175);
assert.isTrue(completionsResponse.body.some((item) => item.name === 'aliceblue'));
assert.isTrue(completionsResponse.body.some((item) => item.name === 'rgba'));
});
Expand All @@ -220,7 +220,7 @@ describe('Completions', () => {
await server.close();
const completionsResponse = getFirstResponseOfType('completions', server);
assert.isTrue(completionsResponse.success);
assert.strictEqual(completionsResponse.body.length, 160);
assert.strictEqual(completionsResponse.body.length, 175);
assert.isTrue(completionsResponse.body.some((item) => item.name === 'aliceblue'));
assert.isTrue(completionsResponse.body.some((item) => item.name === 'rgba'));
});
Expand Down
Loading

0 comments on commit a0d66c4

Please sign in to comment.