Skip to content

Commit

Permalink
Move method definitions and tests together in same directories
Browse files Browse the repository at this point in the history
  • Loading branch information
arnellebalane committed Jan 25, 2019
1 parent 9fd5059 commit 573695a
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 3 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion tests/all.js → methods/all/tests.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import test from 'ava';
import all from '../methods/all';
import all from '.';

test('return true if array is empty', t => {
t.true(all([]));
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion tests/any.js → methods/any/tests.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import test from 'ava';
import any from '../methods/any';
import any from '.';

test('return false if array is empty', t => {
t.false(any([]));
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion tests/assoc.js → methods/assoc/tests.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import test from 'ava';
import assoc from '../methods/assoc';
import assoc from '.';

test('return the first array whose first element is the given object', t => {
t.deepEqual(
Expand Down

0 comments on commit 573695a

Please sign in to comment.