Skip to content
This repository was archived by the owner on Apr 13, 2022. It is now read-only.

Commit 74f7089

Browse files
committed
tests pass
Signed-off-by: Noah Marconi <noah.marconi@gmail.com>
1 parent a279652 commit 74f7089

6 files changed

Lines changed: 18 additions & 5 deletions

File tree

@worldsibu/convector-common-fabric-helper/examples/examples.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { ClientHelper } from '../src/client.helper';
2-
import * as uuid from 'uuid/v4';
2+
import { v4 as uuid } from 'uuid';
33

44
const config = require('./chaincode.config.json');
55
const helper = new ClientHelper(config);

@worldsibu/convector-core-chaincode/tests/chaincode.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import { join } from 'path';
44
import { expect } from 'chai';
5-
import * as uuid from 'uuid/v1';
5+
import { v1 as uuid } from 'uuid';
66
import { ChaincodeMockStub } from '@theledger/fabric-mock-stub';
77
import 'mocha';
88

@worldsibu/convector-storage-stub/tests/stub.storage.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// tslint:disable:no-unused-expression
22

3-
import * as uuid from 'uuid/v1';
3+
import { v1 as uuid } from 'uuid';
44
import { expect } from 'chai';
55
import { Chaincode } from '@theledger/fabric-chaincode-utils';
66
import { ChaincodeMockStub } from '@theledger/fabric-mock-stub';

examples/token/package-lock.json

Lines changed: 13 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/token/tests/token.e2e.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import { expect } from 'chai';
44
import { resolve } from 'path';
5-
import * as uuid from 'uuid/v4';
5+
import { v4 as uuid } from 'uuid';
66
import 'mocha';
77

88
import { CouchDBStorage } from '@worldsibu/convector-storage-couchdb';

examples/token/tests/token.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import * as chai from 'chai';
33
import { join } from 'path';
44
import { expect } from 'chai';
5-
import * as uuid from 'uuid/v4';
5+
import { v4 as uuid } from 'uuid';
66
import 'mocha';
77
import * as chaiAsPromised from 'chai-as-promised';
88

0 commit comments

Comments
 (0)