We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b44887 commit 4816f4aCopy full SHA for 4816f4a
pkg/filters/fileserver/fileserver_test.go
@@ -260,6 +260,11 @@ func TestFileNeedCache(t *testing.T) {
260
for _, tc := range testCases {
261
if runtime.GOOS == "windows" {
262
tc.path = toWindowsPath(tc.path)
263
+ fs.spec.Cache.CacheFileExtensionFilters = []FileExtensionFilter{
264
+ {Pattern: []string{toWindowsPath("*.html"), toWindowsPath("*.css")}},
265
+ {Pattern: []string{toWindowsPath("/usr/*.js")}},
266
+ {Pattern: []string{toWindowsPath("usr/test/*.png")}},
267
+ }
268
}
269
input := &filePath{path: tc.path}
270
fs.setFileNeedCache(input)
0 commit comments