Skip to content

Commit

Permalink
test: fix import paths for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
CJ42 committed Jan 26, 2024
1 parent 6fc8b8c commit 863262e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
4 changes: 1 addition & 3 deletions dodoc/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const dodocConfig = {
'contracts/LSP9Vault/LSP9Vault.sol',
'contracts/LSP11BasicSocialRecovery/LSP11BasicSocialRecovery.sol',
'contracts/LSP14Ownable2Step/LSP14Ownable2Step.sol',
'packages/LSP16UniversalFactory/contracts/LSP16UniversalFactory.sol',
'lsp16/contracts/LSP16UniversalFactory.sol',
'contracts/LSP17ContractExtension/LSP17Extendable.sol',
'contracts/LSP17ContractExtension/LSP17Extension.sol',
'contracts/LSP17Extensions/Extension4337.sol',
Expand Down Expand Up @@ -48,8 +48,6 @@ export const dodocConfig = {

// external --------------------
'@erc725/smart-contracts/contracts/ERC725.sol',
// 'solidity-bytes-utils/contracts/BytesLib.sol',
'@openzeppelin/contracts/token/ERC20/ERC20.sol',
],
libraries: [
'contracts/LSP1UniversalReceiver/LSP1Utils.sol',
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@
"@openzeppelin/contracts": "^4.9.2",
"@openzeppelin/contracts-upgradeable": "^4.9.2",
"solidity-bytes-utils": "0.8.0",
"lsp25": "*"
"lsp25": "*",
"lsp16": "*"
},
"devDependencies": {
"@b00ste/hardhat-dodoc": "^0.3.16",
Expand Down
7 changes: 2 additions & 5 deletions tests/LSP16UniversalFactory/LSP16UniversalFactory.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ import {
LSP1UniversalReceiverDelegateUP__factory,
UniversalProfileInit,
UniversalProfileInit__factory,
LSP16UniversalFactory,
LSP16UniversalFactory__factory,
LSP1UniversalReceiverDelegateUP,
UniversalProfile,
UniversalProfile__factory,
Expand All @@ -18,11 +20,6 @@ import {
LSP6KeyManager__factory,
} from '../../types';

import {
LSP16UniversalFactory,
LSP16UniversalFactory__factory,
} from '../../packages/LSP16UniversalFactory/types';

import web3 from 'web3';

import type { SignerWithAddress } from '@nomiclabs/hardhat-ethers/signers';
Expand Down

0 comments on commit 863262e

Please sign in to comment.