mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-21 21:35:28 +02:00
js: Bump test dependency
To work around a cache issue.
This commit is contained in:
@@ -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": {
|
||||
@@ -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;
|
||||
`))
|
||||
}
|
||||
|
Reference in New Issue
Block a user