Skip to content

Commit

Permalink
Update to latest minor versions of chai libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
jafeltra committed Sep 3, 2024
1 parent 8116a7d commit 5f8fa24
Show file tree
Hide file tree
Showing 5 changed files with 51 additions and 44 deletions.
79 changes: 42 additions & 37 deletions package-lock.json

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

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.9.1",
"@types/antlr4": "^4.7.2",
"@types/chai": "^4.3.8",
"@types/chai-spies": "^1.0.4",
"@types/chai": "^4.3.19",
"@types/chai-spies": "^1.0.6",
"@types/fs-extra": "^11.0.4",
"@types/glob": "^8.1.0",
"@types/mocha": "^10.0.7",
Expand All @@ -128,8 +128,8 @@
"@typescript-eslint/eslint-plugin": "^8.4.0",
"@typescript-eslint/parser": "^8.4.0",
"@vscode/test-electron": "^2.4.1",
"chai": "^4.3.10",
"chai-spies": "^1.0.0",
"chai": "^4.5.0",
"chai-spies": "^1.1.0",
"eslint": "^9.9.1",
"eslint-config-prettier": "^9.1.0",
"fs-extra": "^11.2.0",
Expand Down
3 changes: 2 additions & 1 deletion src/test/suite/FshCompletionProvider.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ import {
import { FshDefinitionProvider } from '../../FshDefinitionProvider';

chai.use(spies);
const { assert, expect } = chai;
const { expect } = chai;
const assert: Chai.AssertStatic = chai.assert;
const { EOL } = os;

// Since the tests actually run from the build output directory,
Expand Down
3 changes: 2 additions & 1 deletion src/test/suite/FshDefinitionProvider.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ import * as parser from '../../parser';
import { FshDefinitionProvider, NameInfo } from '../../FshDefinitionProvider';

chai.use(spies);
const { assert, expect } = chai;
const { expect } = chai;
const assert: Chai.AssertStatic = chai.assert;

suite('FshDefinitionProvider', () => {
let extension: vscode.Extension<any>;
Expand Down
2 changes: 1 addition & 1 deletion src/test/suite/SushiBuildTaskProvider.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import chai from 'chai';
import * as vscode from 'vscode';
import { getSushiBuildTask } from '../../SushiBuildTaskProvider';

const { assert } = chai;
const assert: Chai.AssertStatic = chai.assert;

suite('SushiBuildTaskProvider', () => {
suite('getSushiBuildTask', () => {
Expand Down

0 comments on commit 5f8fa24

Please sign in to comment.