Skip to content

Commit 7b01c3c

Browse files
Copilotnikku
andcommitted
chore: add explicit chai imports to test files
Import expect from chai in test files instead of relying on globals Co-authored-by: nikku <[email protected]>
1 parent 0bbc1e0 commit 7b01c3c

File tree

3 files changed

+9
-29
lines changed

3 files changed

+9
-29
lines changed

package-lock.json

Lines changed: 5 additions & 29 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/distro/distroSpec.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import { expect } from 'chai';
2+
13
describe('distro', function() {
24

35
it('should expose CJS bundle', function() {

test/spec/LintingSpec.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import { expect } from 'chai';
2+
13
import semver from 'semver';
24

35
import {

0 commit comments

Comments
 (0)