Skip to content

Commit 5e649eb

Browse files
jmooringbep
authored andcommitted
resources: Skip integration test if Dart Sass is not installed
1 parent 0de8f86 commit 5e649eb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎resources/resource_transformers/tocss/dartsass/dartsass_integration_test.go‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -645,6 +645,9 @@ T1: {{ $r.Content }}
645645

646646
func TestSilenceDependencyDeprecations(t *testing.T) {
647647
t.Parallel()
648+
if !dartsass.Supports() {
649+
t.Skip()
650+
}
648651

649652
files := `
650653
-- hugo.toml --

0 commit comments

Comments
 (0)