Skip to content

Commit

Permalink
util/stat: consistent style for better readability
Browse files Browse the repository at this point in the history
  • Loading branch information
manidlou committed May 13, 2019
1 parent 72a0c64 commit 0600fde
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/util/__tests__/stat.test.js
Expand Up @@ -57,8 +57,8 @@ describe('util/stat', () => {
describe('should stop at src or root path and not throw max call stack size error', done => {
it('stat.checkParentPaths()', () => {
const src = path.join(TEST_DIR, 'src')
fs.ensureFileSync(src)
let dest = path.join(TEST_DIR, 'dest')
fs.ensureFileSync(src)
fs.ensureFileSync(dest)
dest = path.basename(dest)
const srcStat = fs.statSync(src)
Expand All @@ -69,8 +69,8 @@ describe('util/stat', () => {

it('stat.checkParentPathsSync()', () => {
const src = path.join(TEST_DIR, 'src')
fs.ensureFileSync(src)
let dest = path.join(TEST_DIR, 'dest')
fs.ensureFileSync(src)
fs.ensureFileSync(dest)
dest = path.basename(dest)
const srcStat = fs.statSync(src)
Expand Down

0 comments on commit 0600fde

Please sign in to comment.