Skip to content

feat(site): Duplicate template #6853

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Mar 30, 2023
Prev Previous commit
Fix test
  • Loading branch information
BrunoQuaresma committed Mar 30, 2023
commit da0a2c1e36b81ef77f00897e5118d01046c44ab7
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ describe("CreateWorkspacePage", () => {
})

it("succeeds with default owner", async () => {
jest.spyOn(API, "getTemplateVersionSchema").mockResolvedValueOnce([])
jest
.spyOn(API, "getUsers")
.mockResolvedValueOnce({ users: [MockUser], count: 1 })
Expand Down