mirror of
https://github.com/hanzoai/playwright.git
synced 2026-09-24 17:01:53 +00:00
test: fix fs.rmdir deprecation warning (#36578)
This commit is contained in:
@@ -45,7 +45,7 @@ test('cli should work', async ({ exec, tmpWorkspace }) => {
|
||||
expect(fs.readdirSync(userDataDir).length).toBeGreaterThan(0);
|
||||
expect(result).toContain(`{ page }`);
|
||||
} finally {
|
||||
fs.rmdirSync(userDataDir, { recursive: true });
|
||||
fs.rmSync(userDataDir, { recursive: true });
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user