mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Use fs.renameSync in Workspace spec to fix test failure
This commit is contained in:
committed by
David Wilson
parent
8eccaf2d5d
commit
eee7ae8abe
@@ -2086,7 +2086,7 @@ describe('Workspace', () => {
|
||||
})
|
||||
|
||||
runs(() => {
|
||||
fs.rename(path.join(projectPath, 'git.git'), path.join(projectPath, '.git'))
|
||||
fs.renameSync(path.join(projectPath, 'git.git'), path.join(projectPath, '.git'))
|
||||
ignoredPath = path.join(projectPath, 'ignored.txt')
|
||||
fs.writeFileSync(ignoredPath, 'this match should not be included')
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user