This commit is contained in:
Jaco
2023-02-11 17:52:08 +02:00
committed by GitHub
parent 4709a62c0b
commit 4134bf8a85
5 changed files with 546 additions and 567 deletions

View File

@@ -30,11 +30,12 @@
"postinstall": "polkadot-dev-yarn-only",
"test": "NODE_OPTIONS=--experimental-vm-modules polkadot-dev-run-test --coverage --runInBand --testPathIgnorePatterns crosscheck --testPathIgnorePatterns toMiniSecretCmp",
"test:mnemonicCmp": "polkadot-dev-run-test packages/util-crypto/src/mnemonic/toMiniSecretCmp.spec.ts",
"test:one": "polkadot-dev-run-test --runInBand"
"test:one": "polkadot-dev-run-test --runInBand",
"test:node": "polkadot-dev-run-node-test"
},
"devDependencies": {
"@babel/core": "^7.20.12",
"@polkadot/dev": "^0.68.10",
"@polkadot/dev": "^0.68.16",
"@types/jest": "^29.4.0"
},
"resolutions": {

View File

@@ -5,7 +5,7 @@ import known from '@substrate/ss58-registry';
import fs from 'fs';
import path from 'path';
import other from './test/ss58registry.test.json';
import other from './test/ss58registry.test.json' assert { type: 'json' };
describe('@substrate/ss58-registry', (): void => {
it('has known values', (): void => {

View File

@@ -1,11 +0,0 @@
// Copyright 2017-2023 @polkadot/util authors & contributors
// SPDX-License-Identifier: Apache-2.0
// Be able to import json in TS
// https://stackoverflow.com/questions/49996456/importing-json-file-in-typescript
declare module '*.json' {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
const value: any;
export default value;
}

View File

@@ -24,6 +24,7 @@
"@polkadot/x-textencoder": ["x-textencoder/src/browser"],
"@polkadot/x-ws": ["x-ws/src/browser"]
},
"resolveJsonModule": true,
"skipLibCheck": true,
"target": "es2020"
}

1094
yarn.lock

File diff suppressed because it is too large Load Diff