Skip to content

Commit

Permalink
test: helpers lib
Browse files Browse the repository at this point in the history
  • Loading branch information
turadg committed Aug 23, 2024
1 parent 11760f1 commit 73bde4d
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions packages/agoric-cli/test/helpers.test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
/** @file the `helpers` module is exported to test its API */

import '@endo/init/debug.js';

import test from 'ava';

import { getSDKBinaries } from '../src/helpers.js';

test('getSDKBinaries', t => {
const binaries = getSDKBinaries();
t.log(binaries);
t.is(typeof binaries.agSolo, 'string');
t.is(typeof binaries.agSoloBuild, 'object');
t.is(typeof binaries.cosmosChain, 'string');
t.is(typeof binaries.cosmosChainBuild, 'object');
t.is(typeof binaries.cosmosClientBuild, 'object');
t.is(typeof binaries.cosmosHelper, 'string');
});

0 comments on commit 73bde4d

Please sign in to comment.