mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-21 21:35:28 +02:00
Simplify some integration tests
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user