Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Commit 77a11c3

Browse files
committed
Merge pull request #106 from ipfs/tests/bring-init-tests-in
merge tests
2 parents 448ffe8 + 66ae491 commit 77a11c3

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

tests/test-cli/test-init.js renamed to test/cli-tests/test-init.js

-21
Original file line numberDiff line numberDiff line change
@@ -59,26 +59,5 @@ describe('init', function () {
5959
done()
6060
})
6161
})
62-
63-
it('force', (done) => {
64-
nexpect.spawn('node', [process.cwd() + '/src/cli/bin.js', 'init', '--bits', '64', '--force'])
65-
.run((err, stdout, exitcode) => {
66-
expect(err).to.not.exist
67-
expect(exitcode).to.equal(0)
68-
69-
nexpect.spawn('node', [process.cwd() + '/src/cli/bin.js', 'init', '--bits', '64'])
70-
.run((err, stdout, exitcode) => {
71-
expect(err).to.not.exist
72-
expect(exitcode).to.equal(1)
73-
74-
nexpect.spawn('node', [process.cwd() + '/src/cli/bin.js', 'init', '--bits', '64', '--force'])
75-
.run((err, stdout, exitcode) => {
76-
expect(err).to.not.exist
77-
expect(exitcode).to.equal(0)
78-
done()
79-
})
80-
})
81-
})
82-
})
8362
})
8463

0 commit comments

Comments
 (0)