This pull request includes several changes to the cli/src/__tests__/utils/options.test.ts file to add support for handling YAML file paths in addition to JSON file paths. The most important changes include the addition of a new test file path, updating cleanup logic, and adding new test cases for saving and loading options with a custom YAML path.
This pull request includes several changes to the
cli/src/__tests__/utils/options.test.ts
file to add support for handling YAML file paths in addition to JSON file paths. The most important changes include the addition of a new test file path, updating cleanup logic, and adding new test cases for saving and loading options with a custom YAML path.Add support for YAML file paths:
cli/src/__tests__/utils/options.test.ts
: AddedtestYamlFilePath
constant for handling YAML file paths.cli/src/__tests__/utils/options.test.ts
: Updated cleanup logic to removetestYamlFilePath
if it exists.New test cases for YAML file paths:
cli/src/__tests__/utils/options.test.ts
: Added a test case to save and load options for command type "pub" with a custom YAML path.cli/src/__tests__/utils/options.test.ts
: Added a test case to save and load options for command type "benchSub" with a custom YAML path.