Skip to content

Commit

Permalink
No needs for xjest
Browse files Browse the repository at this point in the history
  • Loading branch information
KSXGitHub committed May 25, 2018
1 parent 8d8aeac commit 19c2d23
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/typescript/fs-tree-utils/test/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import * as path from 'path'
import {cwd, chdir} from 'process'
import * as fsx from 'fs-extra'
import * as xjest from 'extra-jest'
import tempPath from 'unique-temp-path'
import * as subject from '../index'
import {DeepFunc} from '../lib/traverse'
Expand Down Expand Up @@ -106,7 +105,7 @@ describe('create function', () => {
}

await subject.create(existingTree, container)
xjest.promise.snapRejected(subject.create(expectedTree, container))
expect(subject.create(expectedTree, container)).rejects.toMatchSnapshot()
})

it('in which a folder is requested in place of a file', async () => {
Expand All @@ -122,7 +121,7 @@ describe('create function', () => {
}

await subject.create(existingTree, container)
xjest.promise.snapRejected(subject.create(expectedTree, container))
expect(subject.create(expectedTree, container)).rejects.toMatchSnapshot()
})
})
})
Expand Down

0 comments on commit 19c2d23

Please sign in to comment.