Skip to content

Commit

Permalink
Update TypeScript and update tests (more colours added from CSS langu…
Browse files Browse the repository at this point in the history
…age service)
  • Loading branch information
jasonwilliams committed Dec 11, 2023
1 parent 915ff5a commit 7416f18
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 81 deletions.
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
16 changes: 8 additions & 8 deletions 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 package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"glob": "^8.0.3",
"mocha": "^10.1.0",
"prettier": "^2.8.0",
"typescript": "^5.0.3"
"typescript": "^5.3.3"
},
"scripts": {
"compile": "tsc -p .",
Expand Down

0 comments on commit 7416f18

Please sign in to comment.