Skip to content

Commit

Permalink
Adjust imports in test config - import from creditcoin-js
Browse files Browse the repository at this point in the history
  • Loading branch information
atodorov committed Dec 14, 2022
1 parent cce5119 commit b1f1d49
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion integration-tests/src/devnetSetup.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { providers, Wallet } from 'ethers';
import { providers, Wallet } from 'creditcoin-js';
import { default as globalSetup } from './globalSetup';

const createWallet = (who: 'lender' | 'borrower') => {
Expand Down
4 changes: 1 addition & 3 deletions integration-tests/src/mainnetSetup.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import { Wallet, Keyring, KeyringPair } from 'creditcoin-js';
import { providers } from 'ethers';
// TODO: needs to be imported from creditcoin-js, see other files as well
import { providers, Keyring, KeyringPair, Wallet } from 'creditcoin-js';
import { default as globalSetup } from './globalSetup';

const createSigner = (keyring: Keyring, who: 'lender' | 'borrower' | 'sudo'): KeyringPair => {
Expand Down
3 changes: 1 addition & 2 deletions integration-tests/src/testnetSetup.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { CHAINS } from 'creditcoin-js';
import { providers, Wallet } from 'ethers';
import { providers, CHAINS, Wallet } from 'creditcoin-js';
import { default as globalSetup } from './globalSetup';

const createWallet = (who: 'lender' | 'borrower') => {
Expand Down

0 comments on commit b1f1d49

Please sign in to comment.