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

Commit

Permalink
tests pass
Browse files Browse the repository at this point in the history
Signed-off-by: Noah Marconi <noah.marconi@gmail.com>
  • Loading branch information
NoahMarconi committed Nov 20, 2020
1 parent a279652 commit 74f7089
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ClientHelper } from '../src/client.helper';
import * as uuid from 'uuid/v4';
import { v4 as uuid } from 'uuid';

const config = require('./chaincode.config.json');
const helper = new ClientHelper(config);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import { join } from 'path';
import { expect } from 'chai';
import * as uuid from 'uuid/v1';
import { v1 as uuid } from 'uuid';
import { ChaincodeMockStub } from '@theledger/fabric-mock-stub';
import 'mocha';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// tslint:disable:no-unused-expression

import * as uuid from 'uuid/v1';
import { v1 as uuid } from 'uuid';
import { expect } from 'chai';
import { Chaincode } from '@theledger/fabric-chaincode-utils';
import { ChaincodeMockStub } from '@theledger/fabric-mock-stub';
Expand Down
13 changes: 13 additions & 0 deletions examples/token/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/token/tests/token.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import { expect } from 'chai';
import { resolve } from 'path';
import * as uuid from 'uuid/v4';
import { v4 as uuid } from 'uuid';
import 'mocha';

import { CouchDBStorage } from '@worldsibu/convector-storage-couchdb';
Expand Down
2 changes: 1 addition & 1 deletion examples/token/tests/token.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import * as chai from 'chai';
import { join } from 'path';
import { expect } from 'chai';
import * as uuid from 'uuid/v4';
import { v4 as uuid } from 'uuid';
import 'mocha';
import * as chaiAsPromised from 'chai-as-promised';

Expand Down

0 comments on commit 74f7089

Please sign in to comment.