Skip to content

Commit

Permalink
test: update path for LSP8Mintable TS types
Browse files Browse the repository at this point in the history
  • Loading branch information
CJ42 committed Feb 6, 2024
1 parent 678132d commit 12235b0
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 21 deletions.
4 changes: 0 additions & 4 deletions dodoc/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,11 @@ export const dodocConfig = {
'lsp7/contracts/LSP7DigitalAsset.sol',
'lsp7/contracts/extensions/LSP7Burnable.sol',
'lsp7/contracts/extensions/LSP7CappedSupply.sol',
'lsp7/contracts/extensions/LSP7CompatibleERC20.sol',
'lsp7/contracts/presets/LSP7CompatibleERC20Mintable.sol',
'lsp7/contracts/presets/LSP7Mintable.sol',
'lsp8/contracts/LSP8IdentifiableDigitalAsset.sol',
'lsp8/contracts/extensions/LSP8Burnable.sol',
'lsp8/contracts/extensions/LSP8CappedSupply.sol',
'lsp8/contracts/extensions/LSP8CompatibleERC721.sol',
'lsp8/contracts/extensions/LSP8Enumerable.sol',
'lsp8/contracts/presets/LSP8CompatibleERC721Mintable.sol',
'lsp8/contracts/presets/LSP8Mintable.sol',

// libraries --------------------
Expand Down
4 changes: 2 additions & 2 deletions tests/Benchmark.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ import {
LSP1UniversalReceiverDelegateUP,
LSP1UniversalReceiverDelegateUP__factory,
LSP6KeyManager__factory,
LSP8Mintable,
LSP8Mintable__factory,
UniversalProfile,
UniversalProfile__factory,
} from '../types';

import { LSP8Mintable, LSP8Mintable__factory } from 'lsp8/types';

import {
ERC725YDataKeys,
INTERFACE_IDS,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,8 @@ import { ethers } from 'hardhat';
import { SignerWithAddress } from '@nomiclabs/hardhat-ethers/signers';

import { LSP7Mintable, LSP7Mintable__factory } from 'lsp7/types';
import {
LSP8Mintable,
LSP8Mintable__factory,
TargetContract,
TargetContract__factory,
} from '../../../../types';
import { LSP8Mintable, LSP8Mintable__factory } from 'lsp8/types';
import { TargetContract, TargetContract__factory } from '../../../../types';

// constants
import {
Expand Down
8 changes: 2 additions & 6 deletions tests/LSP6KeyManager/Interactions/AllowedFunctions.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,8 @@ import { SignerWithAddress } from '@nomiclabs/hardhat-ethers/signers';
import { EIP191Signer } from '@lukso/eip191-signer.js';

import { LSP7Mintable, LSP7Mintable__factory } from 'lsp7/types';
import {
LSP8Mintable,
LSP8Mintable__factory,
TargetContract,
TargetContract__factory,
} from '../../../types';
import { LSP8Mintable, LSP8Mintable__factory } from 'lsp8/types';
import { TargetContract, TargetContract__factory } from '../../../types';

// constants
import {
Expand Down
3 changes: 2 additions & 1 deletion tests/LSP8IdentifiableDigitalAsset/LSP8Mintable.behaviour.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@ import { SignerWithAddress } from '@nomiclabs/hardhat-ethers/signers';
import { ethers } from 'hardhat';
import { expect } from 'chai';
import {
LSP8Mintable,
LSP8TransferOwnerChange,
UniversalProfile,
LSP6KeyManager,
UniversalReceiverDelegateTokenReentrant__factory,
} from '../../types';

import { LSP8Mintable } from 'lsp8/types';

import { setupProfileWithKeyManagerWithURD } from '../utils/fixtures';

import { PERMISSIONS, ERC725YDataKeys, OPERATION_TYPES, CALLTYPE } from '../../constants';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { ethers } from 'hardhat';
import { expect } from 'chai';
import { LSP8MintableInit, LSP8MintableInit__factory } from '../../../types';
import { LSP8MintableInit, LSP8MintableInit__factory } from 'lsp8/types';

import { shouldInitializeLikeLSP8 } from '../LSP8IdentifiableDigitalAsset.behaviour';
import {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { LSP4_TOKEN_TYPES, LSP8_TOKEN_ID_FORMAT } from '../../../constants';
import { LSP8Mintable, LSP8Mintable__factory } from '../../../types';
import { LSP8Mintable, LSP8Mintable__factory } from 'lsp8/types';

import { shouldInitializeLikeLSP8 } from '../LSP8IdentifiableDigitalAsset.behaviour';
import {
Expand Down

0 comments on commit 12235b0

Please sign in to comment.