Skip to content

Commit d7d7b0f

Browse files
committed
Refactor test in ButtonContainer
1 parent af33719 commit d7d7b0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/__tests__/ButtonContainer.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ describe('Unit testing for ButtonContainer', () => {
6363

6464
describe('When view is unlock', () => {
6565
test('Button should show as unlocked', () => {
66-
state.tabs['87'].mode.paused = true;
66+
state.tabs['87'].mode.paused = false;
6767
render(<ButtonsContainer />);
6868
expect(screen.getAllByRole('button')[0]).toHaveTextContent('Unlocked');
6969
});

0 commit comments

Comments
 (0)