Skip to content

Commit

Permalink
fix(cli:e2e:registry): fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mkucharz committed Jan 28, 2018
1 parent c3003f8 commit e528943
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/cli/tests/e2e/registry.test-e2e.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,15 @@ describe('[E2E] CLI Registry', function () {
it('can bump version of submited socket', function (done) {
testNixt()
.run(`${cliLocation} submit ${createdSocketName} -b minor`)
.stdout(/\(1\.0\.0\)\.\.\. Done/)
.stdout(/\(0\.1\.0\)\.\.\. Done/)
.end(done)
})

it('can submit socket with wrong version to the registry', function (done) {
testNixt()
.before(() => {
replace({
regex: 'version: 0.0.1',
regex: 'version: 0.1.0',
replacement: 'version: 25.0.1',
paths: [path.join(testsLocation, testInstance, 'syncano', createdSocketName)],
recursive: true,
Expand Down

0 comments on commit e528943

Please sign in to comment.