Remove /index imports (swap to bare) (#362)

This commit is contained in:
Jaco Greeff
2019-03-14 08:41:00 +01:00
committed by GitHub
parent a7ef2dcd86
commit de67a88f45
162 changed files with 198 additions and 189 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
import BN from 'bn.js';
import { isBn } from './index';
import { isBn } from '.';
describe('isBN', () => {
it('returns true when a BN value', () => {
+1 -1
View File
@@ -2,7 +2,7 @@
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
import { isBoolean } from './index';
import { isBoolean } from '.';
describe('isBoolean', () => {
it('returns true on false', () => {
+1 -1
View File
@@ -2,7 +2,7 @@
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
import { isBuffer } from './index';
import { isBuffer } from '.';
describe('isBuffer', () => {
it('returns true when a Buffer value', () => {
+1 -1
View File
@@ -2,7 +2,7 @@
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
import { isError } from './index';
import { isError } from '.';
describe('isError', () => {
it('returns true when an Error value', () => {
+1 -1
View File
@@ -2,7 +2,7 @@
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
import { isFunction } from './index';
import { isFunction } from '.';
describe('isFunction', () => {
it('returns true on valid functions', () => {
+1 -1
View File
@@ -2,7 +2,7 @@
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
import { isHex } from './index';
import { isHex } from '.';
describe('isHex', () => {
const test = '1234abcd';
+1 -1
View File
@@ -2,7 +2,7 @@
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
import { isInstanceOf } from './index';
import { isInstanceOf } from '.';
describe('isInstanceOf', () => {
it('returns true on real instances', () => {
+1 -1
View File
@@ -2,7 +2,7 @@
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
import { isIp } from './index';
import { isIp } from '.';
describe('isIp', () => {
it('returns false when non-ip found', () => {
+1 -1
View File
@@ -2,7 +2,7 @@
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
import { isJsonObject } from './index';
import { isJsonObject } from '.';
const jsonObject = `{
"Test": "1234",
+1 -1
View File
@@ -2,7 +2,7 @@
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
import { isNull } from './index';
import { isNull } from '.';
describe('isNull', () => {
it('returns true when a null value', () => {
+1 -1
View File
@@ -2,7 +2,7 @@
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
import { isNumber } from './index';
import { isNumber } from '.';
describe('isNumber', () => {
it('returns true on valid numbers', () => {
+1 -1
View File
@@ -2,7 +2,7 @@
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
import { isObject } from './index';
import { isObject } from '.';
describe('isObject', () => {
it('returns true on valid objects', () => {
+1 -1
View File
@@ -2,7 +2,7 @@
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
import { isObservable } from './index';
import { isObservable } from '.';
describe('isObservable', () => {
it('returns true on valid observables', () => {
+1 -1
View File
@@ -2,7 +2,7 @@
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
import { isString } from './index';
import { isString } from '.';
describe('isString', () => {
it('returns true on valid strings', () => {
+1 -1
View File
@@ -2,7 +2,7 @@
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
import { isU8a } from './index';
import { isU8a } from '.';
describe('isUint8Array', () => {
it('returns false on undefined values', () => {
+1 -1
View File
@@ -2,7 +2,7 @@
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
import { isUndefined } from './index';
import { isUndefined } from '.';
describe('isUndefined', () => {
it('returns true on undefined values', () => {