Skip to content

Commit

Permalink
ignore tests that need a running setup
Browse files Browse the repository at this point in the history
  • Loading branch information
clangenb committed May 2, 2024
1 parent f7a5ccf commit f1b93ad
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions packages/worker-api/src/integriteeWorker.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ describe('worker', () => {
// skip it, as this requires a worker (and hence a node) to be running
// To my knowledge jest does not have an option to run skipped tests specifically, does it?
// Todo: add proper CI to test this too.
describe('needs worker and node running', () => {
describe.skip('needs worker and node running', () => {
describe('getWorkerPubKey', () => {
it('should return value', async () => {
const result = await worker.getShieldingKey();
Expand Down Expand Up @@ -71,22 +71,22 @@ describe('worker', () => {
expect(result).toBeDefined();
});
});
//
// describe('balance transfer should work', () => {
// it('should return value', async () => {
// const shard = network.chosenCid;
// const result = await worker.trustedBalanceTransfer(
// alice,
// shard,
// network.mrenclave,
// alice.address,
// charlie.address,
// 1100000000000
// );
// console.log('balance transfer result', result.toHuman());
// expect(result).toBeDefined();
// });
// });

describe('balance transfer should work', () => {
it('should return value', async () => {
const shard = network.chosenCid;
const result = await worker.trustedBalanceTransfer(
alice,
shard,
network.mrenclave,
alice.address,
charlie.address,
1100000000000
);
console.log('balance transfer result', result.toHuman());
expect(result).toBeDefined();
});
});

describe('balance unshield should work', () => {
it('should return value', async () => {
Expand Down

0 comments on commit f1b93ad

Please sign in to comment.