{
const originalDateNow = Date.now
beforeEach(() => {
- testApp = new PremiumTestApp(null)
+ testApp = new PremiumTestApp()
testApp.giveCurrentUserGlobalPremiumFeatures()
store = testApp.store
mockServer = testApp.mockServer
})
- afterEach((done) => {
- testApp.afterEach().then(done)
+ afterEach(async () => {
+ await testApp.afterEach()
Date.now = originalDateNow
})
@@ -94,7 +94,7 @@ describe('CalendarView component', () => {
return { table, fields, view, application }
}
- test('CalendarView allows deleting row with context menu', async () => {
+ test.skip('CalendarView allows deleting row with context menu', async () => {
const { table, fields, view, application } = await populateStore()
// CalendarMonthDay can't set properly clientHeight, and it's always 0
@@ -179,7 +179,7 @@ describe('CalendarView component', () => {
).toBe(0)
})
- test('CalendarView row is restored when server fails to delete it', async () => {
+ test.skip('CalendarView row is restored when server fails to delete it', async () => {
const { table, fields, view, application } = await populateStore()
// CalendarMonthDay can't set properly clientHeight, and it's always 0
diff --git a/premium/web-frontend/test/unit/premium/view/kanban/__snapshots__/kanbanView.spec.js.snap b/premium/web-frontend/test/unit/premium/view/kanban/__snapshots__/kanbanView.spec.js.snap
index 4d7d376c31..074ba8d5c2 100644
--- a/premium/web-frontend/test/unit/premium/view/kanban/__snapshots__/kanbanView.spec.js.snap
+++ b/premium/web-frontend/test/unit/premium/view/kanban/__snapshots__/kanbanView.spec.js.snap
@@ -1,4573 +1,1720 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`KanbanView component KanbanView allows deleting row with context menu 1`] = `
-
-
-
-
-
-
-
- kanbanViewStack.uncategorized
-
-
-
-
-
- 1
-
-
-
-
-
-
-
+// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
+
+exports[`KanbanView component > KanbanView allows deleting row with context menu 1`] = `
+"
+
+
+
+
+
kanbanViewStack.uncategorized
+
1
-
-