mirror of
https://github.com/prymitive/karma
synced 2026-05-05 03:16:51 +00:00
fix(backend): fix go tests after .env removal
This commit is contained in:
committed by
Łukasz Mierzwa
parent
4283075c4b
commit
ed47fdc3a3
@@ -47,17 +47,17 @@ func TestCustomizationAssets(t *testing.T) {
|
||||
mime: "text/plain; charset=utf-8",
|
||||
},
|
||||
{
|
||||
customJS: "../../ui/.env",
|
||||
customJS: "../../ui/mock/custom_assets.txt",
|
||||
path: "/custom.js",
|
||||
code: 200,
|
||||
body: "PUBLIC_URL=.\nFAST_REFRESH=false\nSKIP_PREFLIGHT_CHECK=true\n",
|
||||
body: "custom assets fixture\n",
|
||||
mime: "application/javascript",
|
||||
},
|
||||
{
|
||||
customCSS: "../../ui/.env",
|
||||
customCSS: "../../ui/mock/custom_assets.txt",
|
||||
path: "/custom.css",
|
||||
code: 200,
|
||||
body: "PUBLIC_URL=.\nFAST_REFRESH=false\nSKIP_PREFLIGHT_CHECK=true\n",
|
||||
body: "custom assets fixture\n",
|
||||
mime: "text/css",
|
||||
},
|
||||
}
|
||||
|
||||
1
ui/mock/custom_assets.txt
Normal file
1
ui/mock/custom_assets.txt
Normal file
@@ -0,0 +1 @@
|
||||
custom assets fixture
|
||||
Reference in New Issue
Block a user