File tree Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Original file line number Diff line number Diff line change 1+ import * as indexLib from './index' ;
2+ import * as patternLib from './pattern' ;
3+
4+ describe ( 'index' , ( ) => {
5+ it ( 'exposes count()' , ( ) => {
6+ expect ( indexLib . count ) . toBe ( patternLib . count ) ;
7+ } ) ;
8+
9+ it ( 'exposes expand()' , ( ) => {
10+ expect ( indexLib . expand ) . toBe ( patternLib . expand ) ;
11+ } ) ;
12+
13+ it ( 'exposes expandN()' , ( ) => {
14+ expect ( indexLib . expandN ) . toBe ( patternLib . expandN ) ;
15+ } ) ;
16+
17+ it ( 'exposes expandAll()' , ( ) => {
18+ expect ( indexLib . expandAll ) . toBe ( patternLib . expandAll ) ;
19+ } ) ;
20+ } ) ;
Original file line number Diff line number Diff line change 11import { when } from 'jest-when' ;
22import Expansion from './Expansion' ;
33import { fill } from './helpers/utils' ;
4- import * as patternLib from './index ' ;
4+ import * as patternLib from './pattern ' ;
55import * as randomSort from './sorts/fisher-yates-random' ;
66import * as chooseRandom from './sorts/number-random' ;
77import * as chooseRandomWeighted from './sorts/weighted-random' ;
You can’t perform that action at this time.
0 commit comments