chore: generate
This commit is contained in:
@@ -135,5 +135,4 @@ describe("LocationServiceMap", () => {
|
||||
),
|
||||
),
|
||||
)
|
||||
|
||||
})
|
||||
|
||||
@@ -52,17 +52,11 @@ describe("ProjectDirectories", () => {
|
||||
const service = yield* ProjectDirectories.Service
|
||||
yield* service.create({ projectID, directory, strategy: "old/strategy" })
|
||||
|
||||
expect(
|
||||
yield* service.create({ projectID, directory, strategy: "new/strategy", behavior: "replace" }),
|
||||
).toBe(true)
|
||||
expect(
|
||||
yield* service.create({ projectID, directory, strategy: "new/strategy", behavior: "replace" }),
|
||||
).toBe(false)
|
||||
expect(yield* service.create({ projectID, directory, strategy: "new/strategy", behavior: "replace" })).toBe(true)
|
||||
expect(yield* service.create({ projectID, directory, strategy: "new/strategy", behavior: "replace" })).toBe(false)
|
||||
expect(yield* service.create({ projectID, directory, behavior: "replace" })).toBe(true)
|
||||
expect(yield* service.create({ projectID, directory, behavior: "replace" })).toBe(false)
|
||||
expect(
|
||||
yield* service.create({ projectID, directory, strategy: "new/strategy", behavior: "replace" }),
|
||||
).toBe(true)
|
||||
expect(yield* service.create({ projectID, directory, strategy: "new/strategy", behavior: "replace" })).toBe(true)
|
||||
expect(yield* service.list(projectID)).toEqual([{ directory, strategy: "new/strategy" }])
|
||||
}),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user