Split *.spec.ts into own reference (#4353)

This commit is contained in:
Jaco
2021-12-19 11:33:39 +02:00
committed by GitHub
parent 8f1eec6522
commit 1c78464e23
9 changed files with 77 additions and 6 deletions
+1 -2
View File
@@ -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 => {
+1 -2
View File
@@ -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 => {
+3
View File
@@ -6,6 +6,9 @@
"rootDir": "./src",
"resolveJsonModule": true
},
"exclude": [
"**/*.spec.ts"
],
"references": [
{ "path": "../types" },
{ "path": "../types-augment" }
+19
View File
@@ -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" }
]
}