mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
js: Bump test dependency
To work around a cache issue.
This commit is contained in:
parent
7de629121d
commit
91fe1b6c69
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
`))
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue