Skip to content

Commit

Permalink
Try to fix wikilink-embed e2e tests by resetting mocks in unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
badsketch committed Aug 22, 2023
1 parent 35536c5 commit c1eaded
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ import { retrieveNoteConfig } from './wikilink-embed';
import * as config from '../../services/config';

describe('Wikilink Note Embedding', () => {
afterEach(() => {
jest.clearAllMocks();
});

describe('Config Parsing', () => {
it('should use preview.embedNoteType if deprecated preview.embedNoteInContainer not used', () => {
jest
Expand Down

0 comments on commit c1eaded

Please sign in to comment.