Split *.spec.ts into own reference (#4353)
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
// Copyright 2017-2021 @polkadot/rpc-provider authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import { TEST_HTTP_URL } from '@polkadot/rpc-provider/mock/mockHttp';
|
||||
|
||||
import { TEST_HTTP_URL } from '../mock/mockHttp';
|
||||
import { HttpProvider } from './';
|
||||
|
||||
describe('Http', (): void => {
|
||||
|
||||
@@ -3,8 +3,7 @@
|
||||
|
||||
import type { Mock } from '../mock/types';
|
||||
|
||||
import { mockHttp, TEST_HTTP_URL } from '@polkadot/rpc-provider/mock/mockHttp';
|
||||
|
||||
import { mockHttp, TEST_HTTP_URL } from '../mock/mockHttp';
|
||||
import { HttpProvider } from './';
|
||||
|
||||
describe('send', (): void => {
|
||||
|
||||
@@ -6,6 +6,9 @@
|
||||
"rootDir": "./src",
|
||||
"resolveJsonModule": true
|
||||
},
|
||||
"exclude": [
|
||||
"**/*.spec.ts"
|
||||
],
|
||||
"references": [
|
||||
{ "path": "../types" },
|
||||
{ "path": "../types-augment" }
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"baseUrl": "..",
|
||||
"outDir": "./build",
|
||||
"rootDir": "./src",
|
||||
"resolveJsonModule": true,
|
||||
"emitDeclarationOnly": false,
|
||||
"noEmit": true
|
||||
},
|
||||
"include": [
|
||||
"**/*.spec.ts"
|
||||
],
|
||||
"references": [
|
||||
{ "path": "../rpc-provider" },
|
||||
{ "path": "../types" },
|
||||
{ "path": "../types-augment" }
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user