Skip to content

Commit

Permalink
Minor test cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
rdamazio committed Dec 13, 2024
1 parent bfbf724 commit bf52e8d
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions src/app/checklists/checklists.component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -611,9 +611,7 @@ describe('ChecklistsComponent', () => {
await expectFile('My file', expectedFile);

// Uncenter it.
// await debounce();
await user.keyboard('[ShiftLeft>]c[/ShiftLeft]');
// await debounce();

// Verify that it was indented in storage.
expectedFile.groups[0].checklists[0].items[1].centered = false;
Expand Down
2 changes: 1 addition & 1 deletion src/app/checklists/items-list/items-list.component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Checklist, ChecklistItem_Type } from '../../../../gen/ts/checklist';
import { EXPECTED_CONTENTS } from '../../../model/formats/test-data';
import { ChecklistItemsComponent } from './items-list.component';

describe('ChecklistTreeComponent', () => {
describe('ChecklistItemsComponent', () => {
let user: UserEvent;
let checklist: Checklist;
let checklistChange: jasmine.Spy;
Expand Down
2 changes: 1 addition & 1 deletion src/model/storage/checklists-storage.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const YET_ANOTHER_CHECKLIST_FILE: ChecklistFile = {
groups: [],
};

describe('ChecklistsService', () => {
describe('ChecklistStorage', () => {
let store: ChecklistStorage;

beforeEach(async () => {
Expand Down
2 changes: 1 addition & 1 deletion src/model/storage/gdrive.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function fileIdForName(name: string) {
return `fileid_${name}`;
}

describe('ChecklistsService', () => {
describe('GoogleDriveApi', () => {
let clock: jasmine.Clock;
let store: ChecklistStorage;
let lazyBrowserStore: LazyBrowserStorage;
Expand Down

0 comments on commit bf52e8d

Please sign in to comment.