aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/html/pages/stats_test.go
blob: a5dcce01d994fdc901ca064c9931a2af84f32af4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright 2024 syzkaller project authors. All rights reserved.
// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.

package pages

import (
	"io"
	"testing"

	"github.com/google/syzkaller/pkg/stat"
)

func TestStatsTemplate(t *testing.T) {
	if err := StatsTemplate.Execute(io.Discard, stat.RenderGraphs()); err != nil {
		t.Fatal(err)
	}
}