Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0e30111

Browse files
committed
fix tests
1 parente82a874 commit0e30111

File tree

4 files changed

+111
-3
lines changed

4 files changed

+111
-3
lines changed

‎coderd/apidoc/docs.go

Lines changed: 29 additions & 0 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎coderd/apidoc/swagger.json

Lines changed: 25 additions & 0 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎docs/api/templates.md

Lines changed: 54 additions & 0 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎site/src/testHelpers/handlers.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,6 @@ export const handlers = [
4747
http.get("/api/v2/organizations/:organizationId",()=>{
4848
returnHttpResponse.json(M.MockOrganization);
4949
}),
50-
http.get("/api/v2/organizations/:organizationId/templates/examples",()=>{
51-
returnHttpResponse.json([M.MockTemplateExample,M.MockTemplateExample2]);
52-
}),
5350
http.get(
5451
"/api/v2/organizations/:organizationId/templates/:templateId",
5552
()=>{
@@ -81,6 +78,9 @@ export const handlers = [
8178
),
8279

8380
// templates
81+
http.get("/api/v2/templates/examples",()=>{
82+
returnHttpResponse.json([M.MockTemplateExample,M.MockTemplateExample2]);
83+
}),
8484
http.get("/api/v2/templates/:templateId",()=>{
8585
returnHttpResponse.json(M.MockTemplate);
8686
}),

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp