Skip to content

Commit 953aac8

Browse files
Update constrains on test/webserver.js
1 parent 70e38bc commit 953aac8

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

test/webserver.js

-10
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,6 @@ const db = require('../src/database');
88
describe('createNewTag', () => {
99
let originalCreateEmptyTag;
1010

11-
before(async () => {
12-
// Clear any existing tags before running the tests
13-
await db.clearTags(); // Assuming there's a method to clear all tags in the database
14-
});
15-
16-
after(async () => {
17-
// Clean up by clearing tags after tests
18-
await db.clearTags();
19-
});
20-
2111
it('should add "Homework" and "Assignment" tags correctly to the database', async () => {
2212
// Act: Run the createNewTag function to add default tags
2313
await webserver.createNewTag();

0 commit comments

Comments
 (0)