internal/frontend: enable symbol history experiments for tests
The frontend server tests now run with symbol history experiments
enabled.
For golang/go#37102
Trust: Julie Qiu
Run-TryBot: Julie Qiu
TryBot-Result: kokoro
@@ -1153,6 +1153,18 @@ func TestServer(t *testing.T) {
return append(serverTestCases(), linksTestCases...)
},
},
+ {
+ name: "symbol history experiments",
+ testCasesFunc: func() []serverTestCase {
+ return append(serverTestCases(), linksTestCases...)
+ },
+ experiments: []string{
+ internal.ExperimentInsertSymbolHistory,
+ internal.ExperimentReadSymbolHistory,
+ internal.ExperimentSymbolHistoryMainPage,
+ internal.ExperimentSymbolHistoryVersionsPage,
+ },
+ },
} {
t.Run(test.name, func(t *testing.T) {
testServer(t, test.testCasesFunc(), test.experiments...)
