File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
ng-dev/release/publish/test Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 99import { readFileSync , writeFileSync } from 'fs' ;
1010import { join } from 'path' ;
1111import semver from 'semver' ;
12- import { CancelablePromise } from '@inquirer/type' ;
1312
1413import { CommitFromGitLog , parseCommitFromGitLog } from '../../../commit-message/parse.js' ;
1514import { GitClient } from '../../../utils/git/git-client.js' ;
@@ -276,7 +275,7 @@ describe('common release action logic', () => {
276275 let promptResolveFn : ( ( value : boolean ) => void ) | null = null ;
277276 const promptPromise = new Promise < boolean > (
278277 ( resolve ) => ( promptResolveFn = resolve ) ,
279- ) as unknown as CancelablePromise < boolean > ;
278+ ) as unknown as Promise < boolean > & { cancel : ( ) => void } ;
280279 promptConfirmSpy . and . returnValue ( promptPromise ) ;
281280
282281 const testFile = join ( testTmpDir , 'some-file.txt' ) ;
You can’t perform that action at this time.
0 commit comments