We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9733145 commit f454332Copy full SHA for f454332
test/userRoutes.test.mjs
@@ -79,7 +79,7 @@ describe('User API', () => {
79
});
80
81
82
- /*describe('POST /users', () => {
+ describe('POST /users', () => {
83
it('should create a new user with valid data and token', async () => {
84
const filePath = path.join(__dirname, 'fixtures/sample-profile-pic.jpg');
85
@@ -113,7 +113,7 @@ describe('User API', () => {
113
expect(res.status).to.equal(401);
114
expect(res.body).to.have.property('error', 'Unauthorized');
115
116
- }); */
+ });
117
118
describe('PUT /users/:id', () => {
119
it('should update a user with valid data', async () => {
0 commit comments