Skip to content

Commit

Permalink
Test hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
ajuvonen committed May 21, 2024
1 parent b6cdb4a commit 8b8c27d
Show file tree
Hide file tree
Showing 2 changed files with 247 additions and 132 deletions.
1 change: 1 addition & 0 deletions src/components/__tests__/EditTrainingDialog.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ describe('EditTrainingDialog', () => {
});

it('mounts', () => {
appStateStore.trainingData = getEmptyTraining();
const wrapper = mount(EditTrainingDialog);
expect(wrapper.findComponent(VCard).html()).toMatchSnapshot();
});
Expand Down
Loading

0 comments on commit 8b8c27d

Please sign in to comment.