We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 70e38bc commit 953aac8Copy full SHA for 953aac8
test/webserver.js
@@ -8,16 +8,6 @@ const db = require('../src/database');
8
describe('createNewTag', () => {
9
let originalCreateEmptyTag;
10
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
21
it('should add "Homework" and "Assignment" tags correctly to the database', async () => {
22
// Act: Run the createNewTag function to add default tags
23
await webserver.createNewTag();
0 commit comments