@@ -151,18 +151,18 @@ describe("Options", () => {
151151 } ) . pipe ( runEffect ) )
152152
153153 it ( "validates a option with choices" , ( ) =>
154- Effect . gen ( function * ( $ ) {
154+ Effect . gen ( function * ( ) {
155155 const option = Options . choice ( "animal" , [ "cat" , "dog" ] )
156156 const args1 = Array . make ( "--animal" , "cat" )
157157 const args2 = Array . make ( "--animal" , "dog" )
158- const result1 = yield * $ ( process ( option , args1 , CliConfig . defaultConfig ) )
159- const result2 = yield * $ ( process ( option , args2 , CliConfig . defaultConfig ) )
158+ const result1 = yield * process ( option , args1 , CliConfig . defaultConfig )
159+ const result2 = yield * process ( option , args2 , CliConfig . defaultConfig )
160160 expect ( result1 ) . toEqual ( [ [ ] , "cat" ] )
161161 expect ( result2 ) . toEqual ( [ [ ] , "dog" ] )
162162 } ) . pipe ( runEffect ) )
163163
164164 it ( "validates an option with choices that map to values" , ( ) =>
165- Effect . gen ( function * ( $ ) {
165+ Effect . gen ( function * ( ) {
166166 type Animal = Dog | Cat
167167 class Dog extends Data . TaggedClass ( "Dog" ) < { } > { }
168168 class Cat extends Data . TaggedClass ( "Dog" ) < { } > { }
@@ -174,8 +174,8 @@ describe("Options", () => {
174174 ] )
175175 const args1 = Array . make ( "--animal" , "cat" )
176176 const args2 = Array . make ( "--animal" , "dog" )
177- const result1 = yield * $ ( process ( option , args1 , CliConfig . defaultConfig ) )
178- const result2 = yield * $ ( process ( option , args2 , CliConfig . defaultConfig ) )
177+ const result1 = yield * process ( option , args1 , CliConfig . defaultConfig )
178+ const result2 = yield * process ( option , args2 , CliConfig . defaultConfig )
179179 expect ( result1 ) . toEqual ( [ [ ] , cat ] )
180180 expect ( result2 ) . toEqual ( [ [ ] , dog ] )
181181 } ) . pipe ( runEffect ) )
0 commit comments