Simplify some integration tests

This commit is contained in:
Bjørn Erik Pedersen
2022-02-10 19:49:20 +01:00
parent d1109f590a
commit da4866c2be
4 changed files with 8 additions and 22 deletions

View File

@@ -16,7 +16,6 @@ package babel_test
import (
"testing"
qt "github.com/frankban/quicktest"
jww "github.com/spf13/jwalterweatherman"
"github.com/gohugoio/hugo/htesting"
@@ -28,8 +27,6 @@ func TestTransformBabel(t *testing.T) {
t.Skip("Skip long running test when running locally")
}
c := qt.New(t)
files := `
-- assets/js/main.js --
/* A Car */
@@ -81,7 +78,7 @@ Transpiled3: {{ $transpiled.Permalink }}
b := hugolib.NewIntegrationTestBuilder(
hugolib.IntegrationTestConfig{
T: c,
T: t,
TxtarString: files,
NeedsOsFS: true,
NeedsNpmInstall: true,