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
@@ -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 { stringCamelCase } from './index';
import { stringCamelCase } from '.';
describe('stringCamelCase', () => {
it('works correctly', () => {
+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 { stringLowerFirst } from './index';
import { stringLowerFirst } from '.';
describe('stringLowerFirst', () => {
it("lowers the first letter if it's a capital letter", () => {
+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 { stringShorten } from './index';
import { stringShorten } from '.';
describe('stringShorten', () => {
it('returns the value as-is when <= maxLength', () => {
+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 { stringToU8a } from '../index';
import { stringToU8a } from '..';
describe('stringToU8a', () => {
it('decodes to an empty string for undefined', () => {