Skip to content

Commit

Permalink
fixed dot replacement for more than 2 dots in prefix
Browse files Browse the repository at this point in the history
added mocks and tests
  • Loading branch information
Jabb0 committed Jan 7, 2024
1 parent 1a27af4 commit b55b021
Show file tree
Hide file tree
Showing 6 changed files with 3,872 additions and 553 deletions.
13 changes: 13 additions & 0 deletions jest.setup.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import {jest} from '@jest/globals';

// Mocked messenger object
global.messenger = {
// Methods/properties to mock
messages: {
move: jest.fn()
},
folders: {
create: jest.fn(),
getSubFolders: jest.fn()
}
};
Loading

0 comments on commit b55b021

Please sign in to comment.