Skip to content

Commit

Permalink
fix: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
dword-design committed Aug 23, 2020
1 parent 3a76a3b commit 821b692
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions src/index.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,21 @@ import withLocalTmpDir from 'with-local-tmp-dir'
const runTest = config => () =>
withLocalTmpDir(async () => {
await outputFiles({
'.babelrc.json': JSON.stringify(
{
extends: '@dword-design/babel-config',
},
undefined,
2
),
'depcheck.config.js': endent`
const special = require('../src')
module.exports = {
specials: [
special,
],
}
`,
const special = require('../src')
module.exports = {
specials: [
special,
],
}
`,
...config.files,
})
try {
Expand Down

0 comments on commit 821b692

Please sign in to comment.