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
@@ -4,7 +4,7 @@
import hexToU8a from '@polkadot/util/hex/toU8a';
import { blake2AsHex } from './index';
import { blake2AsHex } from '.';
describe('blake2AsHex', () => {
it('returns a 64-bit value (specified)', () => {
@@ -4,7 +4,7 @@
import hexToU8a from '@polkadot/util/hex/toU8a';
import { blake2AsU8a } from './index';
import { blake2AsU8a } from '.';
describe('blake2AsU8a', () => {
it('returns a 64-bit value by default', () => {
@@ -4,7 +4,7 @@
import hexToU8a from '@polkadot/util/hex/toU8a';
import { blake2bAsHex } from './index';
import { blake2bAsHex } from '.';
describe('blake2bAsHex', () => {
it('creates the correct hash', () => {
@@ -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 { u8aToHex } from '@polkadot/util/index';
import { u8aToHex } from '@polkadot/util';
import blake2bAsU8a from './asU8a';
@@ -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 { blake2bAsU8a } from './index';
import { blake2bAsU8a } from '.';
describe('blake2bAsU8a', () => {
it('creates the correct hash (default length)', () => {