Skip to content

Commit

Permalink
fix(test): node-localstorage missing
Browse files Browse the repository at this point in the history
  • Loading branch information
waitingsong committed Sep 4, 2018
1 parent abbca9e commit 5bf0c38
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/20_index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ describe(filename, () => {

after(() => {
setConfig(oriConfig)
rimraf(tmpDir)
localStorage.clear()
// @ts-ignore
delete process.localStorage
})
Expand Down
2 changes: 1 addition & 1 deletion test/30_localstorage.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ describe(filename, () => {
})

after(() => {
rimraf(tmpDir)
localStorage.clear()
// @ts-ignore
delete process.localStorage
})
Expand Down

0 comments on commit 5bf0c38

Please sign in to comment.