chore: generate
This commit is contained in:
parent
be14739cce
commit
d8f9388610
1 changed files with 6 additions and 9 deletions
|
|
@ -98,15 +98,12 @@ const configLayer = (
|
|||
client?: HttpClient.HttpClient
|
||||
} = {},
|
||||
) =>
|
||||
LayerNode.compile(
|
||||
LayerNode.group([Config.node, FSUtil.node, Env.node, CrossSpawnSpawner.node]),
|
||||
[
|
||||
[Auth.node, options.auth ?? AuthTest.empty],
|
||||
[Account.node, options.account ?? AccountTest.empty],
|
||||
[Npm.node, NpmTest.noop],
|
||||
[httpClient, Layer.succeed(HttpClient.HttpClient, options.client ?? unexpectedHttp)],
|
||||
],
|
||||
)
|
||||
LayerNode.compile(LayerNode.group([Config.node, FSUtil.node, Env.node, CrossSpawnSpawner.node]), [
|
||||
[Auth.node, options.auth ?? AuthTest.empty],
|
||||
[Account.node, options.account ?? AccountTest.empty],
|
||||
[Npm.node, NpmTest.noop],
|
||||
[httpClient, Layer.succeed(HttpClient.HttpClient, options.client ?? unexpectedHttp)],
|
||||
])
|
||||
|
||||
const layer = configLayer()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue