Skip to content

Commit 81547f4

Browse files
committed
Add tests for GitHub discussions support.
1 parent 2f22681 commit 81547f4

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

pkg/github/discussions_test.go

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
package github
2+
3+
import (
4+
"context"
5+
"net/http"
6+
"testing"
7+
8+
"github.com/google/go-github/v69/github"
9+
"github.com/migueleliasweb/go-github-mock/src/mock"
10+
"github.com/stretchr/testify/assert"
11+
"github.com/stretchr/testify/require"
12+
)
13+
14+
func Test_ListDiscussions(t *testing.T) {
15+
// Test implementation here
16+
}
17+
18+
func Test_GetDiscussion(t *testing.T) {
19+
// Test implementation here
20+
}
21+
22+
func Test_CreateDiscussion(t *testing.T) {
23+
// Test implementation here
24+
}
25+
26+
func Test_AddDiscussionComment(t *testing.T) {
27+
// Test implementation here
28+
}

0 commit comments

Comments
 (0)