add frameworks for other tests

This commit is contained in:
Aster Fialla
2026-02-23 09:00:48 -05:00
parent da79db856a
commit 0f65db2d42
3 changed files with 46 additions and 0 deletions

12
tests/commands.test.js Normal file
View File

@@ -0,0 +1,12 @@
describe('commands', () => {
beforeEach(() => {
jest.resetModules();
jest.clearAllMocks();
})
afterEach(() => {
// restore the spy created with spyOn
jest.restoreAllMocks();
});
})