Skip to content

Commit

Permalink
test: refactor test suite for force __DELETE method
Browse files Browse the repository at this point in the history
  • Loading branch information
danpacho committed Mar 21, 2024
1 parent 50e8657 commit 5030f02
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/build_system/src/io_manager/file.writer.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,10 @@ describe('FileWriter', () => {
})

it('should DELETE folder __FORCE', async () => {
const newFolder = await writer.createFolder(`${basePath}/@WILL_DELETE`)
expect(newFolder.success).toBe(true)
const forceDeleteOperation = await writer.deleteFolder__FORCE(
`${basePath}/@test`
`${basePath}/@WILL_DELETE`
)
expect(forceDeleteOperation.success).toBe(true)
})
Expand Down

0 comments on commit 5030f02

Please sign in to comment.