Skip to content

Commit

Permalink
fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
flotwig committed Sep 8, 2022
1 parent f396c41 commit 81925de
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions packages/server/test/unit/util/trash_spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const mockfs = require('mock-fs')
const mockFs = require('mock-fs')

require('../../spec_helper')

Expand Down Expand Up @@ -32,7 +32,11 @@ const expectDirectoriesExist = function (basePath) {

describe('lib/util/trash', () => {
beforeEach(() => {
mockfs({})
mockFs({})
})

afterEach(() => {
mockFs.restore()
})

context('.folder', () => {
Expand Down

0 comments on commit 81925de

Please sign in to comment.