Skip to content

Commit

Permalink
build
Browse files Browse the repository at this point in the history
  • Loading branch information
kzrnm committed Nov 18, 2020
1 parent 28f1c31 commit 077b4ae
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2,989 deletions.
8 changes: 5 additions & 3 deletions __tests__/main.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@ function run(filename: string): cp.SpawnSyncReturns<string> {
test('NotFound', () => {
const exec = run('notfound.xml')
expect(exec.status).not.toStrictEqual(0)
expect(exec.stdout.split(os.EOL)).toEqual(expect.arrayContaining([
expect.stringMatching(/^::error::ENOENT: no such file or directory/)
]))
expect(exec.stdout.split(os.EOL)).toEqual(
expect.arrayContaining([
expect.stringMatching(/^::error::ENOENT: no such file or directory/)
])
)
})

test('Empty', () => {
Expand Down
Loading

0 comments on commit 077b4ae

Please sign in to comment.