diff --git a/frappe/tests/test_commands.py b/frappe/tests/test_commands.py index 89790c600a..68e5ed30fc 100644 --- a/frappe/tests/test_commands.py +++ b/frappe/tests/test_commands.py @@ -892,12 +892,12 @@ class TestAddNewUser(BaseTestCommands): class TestBenchBuild(BaseTestCommands): def test_build_assets_size_check(self): - with cli(frappe.commands.utils.build, "--force --production") as result: + with cli(frappe.commands.utils.build, "--force --production --app frappe") as result: self.assertEqual(result.exit_code, 0) self.assertEqual(result.exception, None) - CURRENT_SIZE = 3.5 # MB - JS_ASSET_THRESHOLD = 0.1 + CURRENT_SIZE = 3.3 # MB + JS_ASSET_THRESHOLD = 0.05 hooks = frappe.get_hooks() default_bundle = hooks["app_include_js"]