1
0
Fork 0
pull/1344/head
Cory Miller 2023-02-21 19:36:20 +00:00
parent 1f17f8bd0b
commit 5261f00994
1 changed files with 5 additions and 0 deletions

View File

@ -3,6 +3,7 @@ import {promises as fs} from 'fs'
import * as os from 'os'
import * as path from 'path'
import * as io from '../src/io'
import * as ioUtil from '../src/io-util'
describe('cp', () => {
beforeEach(async () => {
@ -344,6 +345,10 @@ describe('rmRF', () => {
await assertExists(filePath)
const fd = await fs.open(filePath, 'r')
const files = await ioUtil.readdir(getTestTemp())
for (const file of files) {
console.log(file)
}
await io.rmRF(testPath)
await assertNotExists(testPath)