Skip to content

Commit db7e7ca

Browse files
committed
fix: correct import for sinon
1 parent 2039169 commit db7e7ca

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/unit/localDetectMovedFiles.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import * as fs from 'node:fs';
1010
// @ts-expect-error isogit has both ESM and CJS exports but node16 module/resolution identifies it as ESM
1111
import git from 'isomorphic-git';
1212
import { expect, config } from 'chai';
13-
import sinon = require('sinon');
13+
import sinon from 'sinon';
1414
import { RegistryAccess } from '@salesforce/source-deploy-retrieve';
1515
import { ShadowRepo } from '../../src/shared/local/localShadowRepo';
1616

test/unit/localShadowRepo.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import fs from 'node:fs';
1010
// @ts-expect-error isogit has both ESM and CJS exports but node16 module/resolution identifies it as ESM
1111
import git from 'isomorphic-git';
1212
import { expect } from 'chai';
13-
import sinon = require('sinon');
13+
import sinon from 'sinon';
1414
import { RegistryAccess } from '@salesforce/source-deploy-retrieve';
1515
import { ShadowRepo } from '../../src/shared/local/localShadowRepo';
1616

0 commit comments

Comments
 (0)