Skip to content

Commit a22e456

Browse files
committed
refactor test suite grouping
Signed-off-by: Adam Setch <[email protected]>
1 parent 43f0e8a commit a22e456

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/renderer/utils/notifications/native.test.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -133,14 +133,8 @@ describe('renderer/utils/notifications/native.ts', () => {
133133
native.raiseSoundNotification();
134134
expect(window.Audio.prototype.play).toHaveBeenCalledTimes(1);
135135
});
136-
});
137-
138-
describe('triggerNativeNotifications', () => {
139-
afterEach(() => {
140-
jest.clearAllMocks();
141-
});
142136

143-
it('should raise only sound notification with correct volume', () => {
137+
it('should play notification sound with correct volume', () => {
144138
const settings: SettingsState = {
145139
...defaultSettings,
146140
playSound: true,

0 commit comments

Comments
 (0)