wip
This commit is contained in:
parent
6e2bcafd34
commit
78b7781ab9
18 changed files with 478 additions and 128 deletions
|
|
@ -87,6 +87,22 @@ describe("Config", () => {
|
|||
}),
|
||||
)
|
||||
|
||||
it.effect("migrates project copy configuration", () =>
|
||||
Effect.sync(() => {
|
||||
expect(
|
||||
ConfigMigrateV1.migrate({
|
||||
projectCopy: {
|
||||
strategy: "git_worktree",
|
||||
directory: "{project.directory}/.worktrees/{project.name}-{project.id}-{name}",
|
||||
},
|
||||
}).projectCopy,
|
||||
).toEqual({
|
||||
strategy: "git_worktree",
|
||||
directory: "{project.directory}/.worktrees/{project.name}-{project.id}-{name}",
|
||||
})
|
||||
}),
|
||||
)
|
||||
|
||||
it.effect("migrates v1 provider setup options into AISDK settings", () =>
|
||||
Effect.sync(() => {
|
||||
const migrated = ConfigMigrateV1.migrate({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue