Skip to content
This repository was archived by the owner on Feb 20, 2019. It is now read-only.

Commit 6cb53b5

Browse files
author
Kent C. Dodds
committed
style(test): Import files in a more sensible way to test the package entry
1 parent 17c0e38 commit 6cb53b5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/flatten.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import test from 'ava'
2-
import flatten from '../src/flatten'
2+
import {flatten} from '../src'
33

44
test('flattens an array of arrays', t => {
55
const original = [[1, 2], 3, [4, 5]]

test/snake-to-camel.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import test from 'ava'
2-
import snakeToCamel from '../src/snake-to-camel'
2+
import {snakeToCamel} from '../src'
33

44
test('converts snake-case to camelCase', t => {
55
const original = 'snake-case-string'

0 commit comments

Comments
 (0)