Skip to content

Commit

Permalink
Fix test's mocks still returning the old implementation's values
Browse files Browse the repository at this point in the history
  • Loading branch information
abdullah-kasim committed Feb 8, 2024
1 parent 4c8127e commit 72b4d37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion __tests__/commands/export-sql.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ describe( 'commands/ExportSQLCommand', () => {
const confirmEnoughStorageSpy = jest.spyOn( exportCommand, 'confirmEnoughStorage' );

beforeAll( () => {
confirmEnoughStorageSpy.mockResolvedValue( true );
confirmEnoughStorageSpy.mockResolvedValue( { continue: true, isPromptShown: false } );
downloadSpy.mockResolvedValue( 'test-backup.sql.gz' );
} );

Expand Down

0 comments on commit 72b4d37

Please sign in to comment.