Skip to content

Commit

Permalink
test(numfmt): remove unused ensureActiveSheet
Browse files Browse the repository at this point in the history
  • Loading branch information
Dushusir committed Jun 15, 2024
1 parent 75c867a commit 4fc3882
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ describe('test editor', () => {
testBed.get(NumfmtEditorController);
testBed.get(SheetsNumfmtCellContentController);
workbook = univerInstanceService.getCurrentUnitForType<Workbook>(UniverInstanceType.UNIVER_SHEET)!;
worksheet = workbook.ensureActiveSheet();
worksheet = workbook.getActiveSheet()!;
});

it('before edit with currency', () => {
Expand Down

0 comments on commit 4fc3882

Please sign in to comment.