page_params: Make seperate page_params for billing module.

This commit introduces a seperate `page_params` file for billing module
since we only use certain page_params in billing module only that it does
not make sense to include them in the main `page_params.ts`.

Also introduced `zpage_billing_params` for proper testing new `page_params`
in billing module.
This commit is contained in:
Lalit
2023-03-18 23:31:20 +05:30
committed by Tim Abbott
parent e360a896f6
commit 1f4dd0705d
9 changed files with 40 additions and 5 deletions

View File

@@ -3,6 +3,7 @@
const namespace = require("./namespace");
const zblueslip = require("./zblueslip");
const $ = require("./zjquery");
const zpage_billing_params = require("./zpage_billing_params");
const zpage_params = require("./zpage_params");
let current_file_name;
@@ -29,6 +30,7 @@ async function execute_test(label, f, opts) {
if (!sloppy_$ && $.clear_all_elements) {
$.clear_all_elements();
}
zpage_billing_params.reset();
zpage_params.reset();
try {