mattermost-community/focalboard

API Integration Tests - ./api/api.go (Files API)

Open

#437 opened on 2021年5月17日

GitHub で見る
 (2 comments) (0 reactions) (0 assignees)TypeScript (2,542 forks)user submission
Good First IssueHacktoberfestHelp WantedUp for grabs

Repository metrics

Stars
 (26,187 stars)
PR merge metrics
 (30d に merged PR はありません)

説明

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.

コントリビューターガイド