Skip to content

Commit

Permalink
Make it so that test for unimplemented feature doesn't run
Browse files Browse the repository at this point in the history
  • Loading branch information
lyncasterc committed Mar 4, 2024
1 parent 096fb55 commit 759a89b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/test/int/viewingposts.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ test('post is viewable in homepage after creating it', async () => {
});
});

test('post is viewable in the user profile after creating it', async () => {
test.only('post is viewable in the user profile after creating it', async () => {
await store.dispatch(apiSlice.endpoints.getUsers.initiate());
const history = createBrowserHistory();
history.push('/create/details', { croppedImage: testImage });
Expand Down Expand Up @@ -109,7 +109,7 @@ test('post is viewable in the user profile after creating it', async () => {
});
});

test('post is viewable in the post view page', async () => {
test.only('post is viewable in the post view page', async () => {
await store.dispatch(apiSlice.endpoints.getUsers.initiate());
const history = createBrowserHistory();
history.push('/create/details', { croppedImage: testImage });
Expand Down

0 comments on commit 759a89b

Please sign in to comment.