Skip to content

Commit f454332

Browse files
authored
Update userRoutes.test.mjs
1 parent 9733145 commit f454332

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/userRoutes.test.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ describe('User API', () => {
7979
});
8080
});
8181

82-
/*describe('POST /users', () => {
82+
describe('POST /users', () => {
8383
it('should create a new user with valid data and token', async () => {
8484
const filePath = path.join(__dirname, 'fixtures/sample-profile-pic.jpg');
8585

@@ -113,7 +113,7 @@ describe('User API', () => {
113113
expect(res.status).to.equal(401);
114114
expect(res.body).to.have.property('error', 'Unauthorized');
115115
});
116-
}); */
116+
});
117117

118118
describe('PUT /users/:id', () => {
119119
it('should update a user with valid data', async () => {

0 commit comments

Comments
 (0)