forked from PluralFlux/PluralFlux
add frameworks for other tests
This commit is contained in:
12
tests/commands.test.js
Normal file
12
tests/commands.test.js
Normal file
@@ -0,0 +1,12 @@
|
||||
describe('commands', () => {
|
||||
|
||||
beforeEach(() => {
|
||||
jest.resetModules();
|
||||
jest.clearAllMocks();
|
||||
})
|
||||
|
||||
afterEach(() => {
|
||||
// restore the spy created with spyOn
|
||||
jest.restoreAllMocks();
|
||||
});
|
||||
})
|
||||
Reference in New Issue
Block a user