update tests
This commit is contained in:
parent
8e7b4d5d2c
commit
263cf040c6
@ -24,7 +24,15 @@ from reflex.utils.prerequisites import (
|
||||
app_name="test",
|
||||
),
|
||||
False,
|
||||
'module.exports = {basePath: "", compress: true, reactStrictMode: true, trailingSlash: true};',
|
||||
'module.exports = {basePath: "", compress: true, reactStrictMode: true, trailingSlash: true, staticPageGenerationTimeout: 60};',
|
||||
),
|
||||
(
|
||||
Config(
|
||||
app_name="test",
|
||||
static_page_generation_timeout=30,
|
||||
),
|
||||
False,
|
||||
'module.exports = {basePath: "", compress: true, reactStrictMode: true, trailingSlash: true, staticPageGenerationTimeout: 30};',
|
||||
),
|
||||
(
|
||||
Config(
|
||||
@ -32,7 +40,7 @@ from reflex.utils.prerequisites import (
|
||||
next_compression=False,
|
||||
),
|
||||
False,
|
||||
'module.exports = {basePath: "", compress: false, reactStrictMode: true, trailingSlash: true};',
|
||||
'module.exports = {basePath: "", compress: false, reactStrictMode: true, trailingSlash: true, staticPageGenerationTimeout: 60};',
|
||||
),
|
||||
(
|
||||
Config(
|
||||
@ -40,7 +48,7 @@ from reflex.utils.prerequisites import (
|
||||
frontend_path="/test",
|
||||
),
|
||||
False,
|
||||
'module.exports = {basePath: "/test", compress: true, reactStrictMode: true, trailingSlash: true};',
|
||||
'module.exports = {basePath: "/test", compress: true, reactStrictMode: true, trailingSlash: true, staticPageGenerationTimeout: 60};',
|
||||
),
|
||||
(
|
||||
Config(
|
||||
@ -49,14 +57,14 @@ from reflex.utils.prerequisites import (
|
||||
next_compression=False,
|
||||
),
|
||||
False,
|
||||
'module.exports = {basePath: "/test", compress: false, reactStrictMode: true, trailingSlash: true};',
|
||||
'module.exports = {basePath: "/test", compress: false, reactStrictMode: true, trailingSlash: true, staticPageGenerationTimeout: 60};',
|
||||
),
|
||||
(
|
||||
Config(
|
||||
app_name="test",
|
||||
),
|
||||
True,
|
||||
'module.exports = {basePath: "", compress: true, reactStrictMode: true, trailingSlash: true, output: "export", distDir: "_static"};',
|
||||
'module.exports = {basePath: "", compress: true, reactStrictMode: true, trailingSlash: true, staticPageGenerationTimeout: 60, output: "export", distDir: "_static"};',
|
||||
),
|
||||
],
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user