Skip to content

Commit

Permalink
js: Bump test dependency
Browse files Browse the repository at this point in the history
To work around a cache issue.
  • Loading branch information
bep committed May 13, 2022
1 parent 7de6291 commit 91fe1b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/resource_transformers/js/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ module github.com/gohugoio/tests/testHugoModules
go 1.16
require github.com/gohugoio/hugoTestProjectJSModImports v0.9.0 // indirect
require github.com/gohugoio/hugoTestProjectJSModImports v0.10.0 // indirect
-- package.json --
{
"dependencies": {
Expand Down Expand Up @@ -124,7 +124,7 @@ shim cwd
`)

// React JSX, verify the shimming.
b.AssertFileContent("public/js/like.js", filepath.FromSlash(`@v0.9.0/assets/js/shims/react.js
b.AssertFileContent("public/js/like.js", filepath.FromSlash(`@v0.10.0/assets/js/shims/react.js
module.exports = window.ReactDOM;
`))
}
Expand Down

0 comments on commit 91fe1b6

Please sign in to comment.