Remove /index imports (swap to bare) (#362)
This commit is contained in:
@@ -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 { hexAddPrefix } from './index';
|
||||
import { hexAddPrefix } from '.';
|
||||
|
||||
describe('hexAddPrefix', () => {
|
||||
it('does not add when prefix is available', () => {
|
||||
|
||||
@@ -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 { hexFixLength } from './index';
|
||||
import { hexFixLength } from '.';
|
||||
|
||||
describe('hexFixLength', () => {
|
||||
it('returns bitLength === -1 as-is', () => {
|
||||
|
||||
@@ -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 { hexHasPrefix } from './index';
|
||||
import { hexHasPrefix } from '.';
|
||||
|
||||
describe('hexHasPrefix', () => {
|
||||
it('returns true when hex prefix is found', () => {
|
||||
|
||||
@@ -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 { hexStripPrefix } from './index';
|
||||
import { hexStripPrefix } from '.';
|
||||
|
||||
describe('hexStripPrefix', () => {
|
||||
it('returns an empty string when null value supplied', () => {
|
||||
|
||||
@@ -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 { hexToBn } from './index';
|
||||
import { hexToBn } from '.';
|
||||
|
||||
describe('hexToBn', () => {
|
||||
it('converts prefixed hex values to BN', () => {
|
||||
|
||||
@@ -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 { hexToNumber } from './index';
|
||||
import { hexToNumber } from '.';
|
||||
|
||||
describe('hexToNumber', () => {
|
||||
it('converts an empty to NaN', () => {
|
||||
|
||||
@@ -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 { hexToU8a } from './index';
|
||||
import { hexToU8a } from '.';
|
||||
|
||||
describe('hexToU8a', () => {
|
||||
it('returns an empty Uint8Array when null provided', () => {
|
||||
|
||||
Reference in New Issue
Block a user