Skip to content

Commit

Permalink
indexer-cli: WIP: add another test that should not be failing
Browse files Browse the repository at this point in the history
  • Loading branch information
tilacog committed Dec 2, 2022
1 parent b57ff74 commit 14b6176
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 1 deletion.
21 changes: 20 additions & 1 deletion packages/indexer-cli/src/__tests__/indexer/actions.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,25 @@ describe('Indexer actions tests', () => {
},
)
})
describe('Actions queue allocate', () => {
cliTest(
'Indexer actions help',
[
'indexer',
'actions',
'queue',
'allocate',
'QmZZtzZkfzCWMNrajxBf22q7BC9HzoT5iJUK3S8qA6zNZr',
'15',
],
'references/indexer-actions-allocate',
{
expectedExitCode: 1, // TODO: this should be 0.
cwd: baseDir,
timeout: 10000,
},
)
})
describe('Actions queue', () => {
beforeAll(createTestAction)
afterAll(truncateActions)
Expand All @@ -33,7 +52,7 @@ describe('Indexer actions tests', () => {
['indexer', 'actions', 'get', 'all'],
'references/indexer-actions-get',
{
expectedExitCode: 1,
expectedExitCode: 1, // TODO: this should be 0.
cwd: baseDir,
timeout: 10000,
},
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
foo
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
foo
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
foo
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
foo

0 comments on commit 14b6176

Please sign in to comment.