Skip to content

Commit 12a0c77

Browse files
♻️ refactor(test): Only import what is necessary.
1 parent 93336ce commit 12a0c77

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

test/src/array.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import test from 'ava';
2-
import * as array from "@aureooms/js-array" ;
2+
import {alloc} from "@aureooms/js-array" ;
33
import * as number from "@aureooms/js-number" ;
44

55
import * as fibonacci from '../../src';
@@ -10,7 +10,7 @@ test( "array" , t => {
1010

1111
n = 46 ;
1212

13-
a = array.alloc( n + 1 ) ;
13+
a = alloc( n + 1 ) ;
1414
a[0] = number.$0( ) ;
1515
a[1] = number.$1( ) ;
1616

test/src/rarray.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import test from 'ava';
2-
import * as array from "@aureooms/js-array" ;
2+
import {alloc} from "@aureooms/js-array" ;
33
import * as number from "@aureooms/js-number" ;
44

55
import * as fibonacci from '../../src';
@@ -10,7 +10,7 @@ test( "rarray" , t => {
1010

1111
n = 46 ;
1212

13-
a = array.alloc( n + 1 ) ;
13+
a = alloc( n + 1 ) ;
1414
a[0] = number.$0( ) ;
1515
a[1] = number.$1( ) ;
1616

0 commit comments

Comments
 (0)