Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-bisonai committed Dec 6, 2023
1 parent fdb9689 commit 1a66939
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cli.test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
APP_PORT: "3000"

- name: Run tests
run: yarn cli build && yarn cli test ./cli/test/chain.test.ts
run: yarn cli build && yarn cli test ./cli/test/chain.test.ts ./cli/test/delegator.ts
env:
ORAKL_NETWORK_API_URL: "http://127.0.0.1:3000/api/v1"
ORAKL_NETWORK_DELEGATOR_URL: "http://127.0.0.1:3002/api/v1"
4 changes: 2 additions & 2 deletions cli/test/delegator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ const reporterAddress = '0x260836ac4f046b6887bbe16b322e7f1e5f9a0452'
const contractAddress = '0x93120927379723583c7a0dd2236fcb255e96949f'
const functionName = 'increment()'

describe('CLI Aggregator', function () {
test('Test Aggregator', async function () {
describe('CLI Delegator', function () {
test('Test Delegator', async function () {
// Insert Organization
const organization = await organizationInsertHandler()({ name: organizationName })
expect(organization.name).toBe(organizationName)
Expand Down

0 comments on commit 1a66939

Please sign in to comment.