Skip to content

Commit

Permalink
test: correct os paths.
Browse files Browse the repository at this point in the history
  • Loading branch information
knightedcodemonkey committed Sep 30, 2024
1 parent 4581a24 commit 4fa67b5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 104 deletions.
7 changes: 4 additions & 3 deletions test/integration.js
Original file line number Diff line number Diff line change
Expand Up @@ -204,10 +204,11 @@ describe('duel', () => {
)
})

it.skip('works as a cli script', () => {
const resp = execSync(`${resolve('./src/duel.js')} -h`, {
it('works as a cli script', () => {
const root = resolve(__dirname, '..')
const resp = execSync(`${resolve(root, 'src', 'duel.js')} -h`, {
shell,
cwd: resolve(__dirname, '..'),
cwd: root,
})

assert.ok(resp.toString().indexOf('Options:') > -1)
Expand Down
101 changes: 0 additions & 101 deletions test/integrationOther.js

This file was deleted.

0 comments on commit 4fa67b5

Please sign in to comment.