Skip to content

Commit

Permalink
Fix integration tests by pinned chai to v4 as v5 went ESM-only (#3909)
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephen Belanger authored Dec 28, 2023
1 parent 0167c92 commit 6e359f0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions integration-tests/ci-visibility.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const mochaCommonOptions = {

const jestCommonOptions = {
name: 'jest',
dependencies: ['jest', 'chai', 'jest-jasmine2'],
dependencies: ['jest', 'chai@v4', 'jest-jasmine2'],
expectedStdout: 'Test Suites: 2 passed',
expectedCoverageFiles: [
'ci-visibility/test/sum.js',
Expand All @@ -51,7 +51,7 @@ const testFrameworks = [
{
...mochaCommonOptions,
testFile: 'ci-visibility/run-mocha.js',
dependencies: ['mocha', 'chai', 'nyc'],
dependencies: ['mocha', 'chai@v4', 'nyc'],
expectedCoverageFiles: [
'ci-visibility/run-mocha.js',
'ci-visibility/test/sum.js',
Expand All @@ -64,7 +64,7 @@ const testFrameworks = [
{
...mochaCommonOptions,
testFile: 'ci-visibility/run-mocha.mjs',
dependencies: ['mocha', 'chai', 'nyc', '@istanbuljs/esm-loader-hook'],
dependencies: ['mocha', 'chai@v4', 'nyc', '@istanbuljs/esm-loader-hook'],
expectedCoverageFiles: [
'ci-visibility/run-mocha.mjs',
'ci-visibility/test/sum.js',
Expand Down

0 comments on commit 6e359f0

Please sign in to comment.