File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ const { expect } = chai;
10
10
describe ( 'User API' , ( ) => {
11
11
let token ; // Store the authentication token
12
12
let server ;
13
-
13
+ /*
14
14
// Start server before tests and login to get token
15
15
before(async () => {
16
16
// Start the app server
@@ -75,7 +75,6 @@ describe('User API', () => {
75
75
});
76
76
});
77
77
78
- /*
79
78
describe('POST /users', () => {
80
79
it('should create a new user with valid data and token', async () => {
81
80
const res = await request(app)
@@ -109,7 +108,6 @@ describe('User API', () => {
109
108
expect(res.body).to.have.property('error', 'Unauthorized');
110
109
});
111
110
});
112
- */
113
111
114
112
describe('PUT /users/:id', () => {
115
113
it('should update a user with valid data', async () => {
@@ -204,7 +202,7 @@ describe('User API', () => {
204
202
expect(res.body).to.have.property('error', 'Unauthorized');
205
203
});
206
204
});
207
-
205
+ */
208
206
209
207
// Close the server after tests
210
208
after ( async ( ) => {
You can’t perform that action at this time.
0 commit comments