mirror of
https://github.com/oceanprotocol/ocean.js.git
synced 2024-11-26 20:39:05 +01:00
change NftFactory test directory
This commit is contained in:
parent
546f516cee
commit
c07a528dbe
@ -33,7 +33,7 @@
|
|||||||
"test:dispenser": "npm run mocha -- 'test/unit/pools/dispenser/Dispenser.test.ts'",
|
"test:dispenser": "npm run mocha -- 'test/unit/pools/dispenser/Dispenser.test.ts'",
|
||||||
"test:dt": "npm run mocha -- 'test/unit/tokens/Datatoken.test.ts'",
|
"test:dt": "npm run mocha -- 'test/unit/tokens/Datatoken.test.ts'",
|
||||||
"test:nftDt": "npm run mocha -- 'test/unit/tokens/Nft.test.ts'",
|
"test:nftDt": "npm run mocha -- 'test/unit/tokens/Nft.test.ts'",
|
||||||
"test:factory": "npm run mocha -- 'test/unit/NftFactory.test.ts'",
|
"test:factory": "npm run mocha -- 'test/unit/factories/NftFactory.test.ts'",
|
||||||
"test:router": "npm run mocha -- 'test/unit/pools/Router.test.ts'",
|
"test:router": "npm run mocha -- 'test/unit/pools/Router.test.ts'",
|
||||||
"test:publishAll": "npm run mocha -- 'test/integration/PublishFlows.test.ts'",
|
"test:publishAll": "npm run mocha -- 'test/integration/PublishFlows.test.ts'",
|
||||||
"test:unit": "npm run mocha -- 'test/unit/**/*.test.ts'",
|
"test:unit": "npm run mocha -- 'test/unit/**/*.test.ts'",
|
||||||
|
@ -1,16 +1,22 @@
|
|||||||
import { assert, expect } from 'chai'
|
import { assert, expect } from 'chai'
|
||||||
import { AbiItem } from 'web3-utils/types'
|
import { AbiItem } from 'web3-utils/types'
|
||||||
import { deployContracts, Addresses } from '../TestContractHandler'
|
import { deployContracts, Addresses } from '../../TestContractHandler'
|
||||||
import ERC20Template from '@oceanprotocol/contracts/artifacts/contracts/templates/ERC20Template.sol/ERC20Template.json'
|
import ERC20Template from '@oceanprotocol/contracts/artifacts/contracts/templates/ERC20Template.sol/ERC20Template.json'
|
||||||
import MockERC20 from '@oceanprotocol/contracts/artifacts/contracts/utils/mock/MockERC20Decimals.sol/MockERC20Decimals.json'
|
import MockERC20 from '@oceanprotocol/contracts/artifacts/contracts/utils/mock/MockERC20Decimals.sol/MockERC20Decimals.json'
|
||||||
import { web3 } from '../config'
|
import { web3 } from '../../config'
|
||||||
import { NftFactory, NftCreateData, TokenOrder, ZERO_ADDRESS, signHash } from '../../src'
|
import {
|
||||||
|
NftFactory,
|
||||||
|
NftCreateData,
|
||||||
|
TokenOrder,
|
||||||
|
ZERO_ADDRESS,
|
||||||
|
signHash
|
||||||
|
} from '../../../src'
|
||||||
import {
|
import {
|
||||||
ProviderFees,
|
ProviderFees,
|
||||||
FreCreationParams,
|
FreCreationParams,
|
||||||
Erc20CreateParams,
|
Erc20CreateParams,
|
||||||
PoolCreationParams
|
PoolCreationParams
|
||||||
} from '../../src/@types'
|
} from '../../../src/@types'
|
||||||
|
|
||||||
describe('Nft Factory test', () => {
|
describe('Nft Factory test', () => {
|
||||||
let factoryOwner: string
|
let factoryOwner: string
|
Loading…
x
Reference in New Issue
Block a user