* Start of trie-db re-implementation * WIP commit * More WIP * WIP, seems complete, untested * Ported trie-db operational * Add Ethereum trie tests * Use u8aConcat to construct u8a * Basic RocksDb interface * Combine engines into DB, expand tests * Update Trie with transaction wrapper * LevelDb (sync) interface * Remove unused (for now) package (compatibility) * trie-d -> trie-db-old, trie-db-ext -> trie-db * Version bump * Skip old trie tests (package to be removed) * Skip tests (fixed) * Remove non-used RocksDb spec * Skip FileFlat tests (deprecated?)
11 lines
412 B
JavaScript
11 lines
412 B
JavaScript
const config = require('@polkadot/dev/config/jest');
|
|
|
|
module.exports = Object.assign({}, config, {
|
|
moduleNameMapper: {
|
|
'@polkadot/db(.*)$': '<rootDir>/packages/db/src/$1',
|
|
'@polkadot/trie-(db-old|db|hash)(.*)$': '<rootDir>/packages/trie-$1/src/$2',
|
|
'@polkadot/util-(crypto|keyring|rlp)(.*)$': '<rootDir>/packages/util-$1/src/$2',
|
|
'@polkadot/util(.*)$': '<rootDir>/packages/util/src/$1'
|
|
}
|
|
});
|