Skip to content

Commit 343e96c

Browse files
committed
Added another callback in case of a locked mutex
1 parent d23ebfe commit 343e96c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MutexContext/__tests__/createMutex.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ describe('createMutex', () => {
117117
expect(mutexStore).toEqual([]);
118118
});
119119

120-
it('should run the second callback in case of a locked mutax', () => {
120+
it('should run the second callback in case of a locked mutex', () => {
121121
// arrange
122122
const Mutex = createMutex(mutexStore);
123123
const mutexInstance = new Mutex('test1');

0 commit comments

Comments
 (0)