mattermost-community/focalboard
在 GitHub 查看API Integration Tests - ./api/api.go (Files API)
Open
#437 创建于 2021年5月17日
Good First IssueHacktoberfestHelp WantedUp for grabs
描述
Add integration tests for missing File API endpoints
files := r.PathPrefix("/files").Subrouter()
files.HandleFunc("/workspaces/{workspaceID}/{rootID}/{filename}", a.attachSession(a.handleServeFile, false)).Methods("GET")
These are currently in the ./src/octoClient.ts class, so test should go in ./src/octoClient.test.ts
see ./integrationtests/blocks_test.go and sharing_test.go for samples.