Merge pull request #1667 from sw5678/master

Added file tree functionality
This commit is contained in:
a3957273 2024-02-09 00:31:48 +00:00 committed by GitHub
commit 6c971876de
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 116 additions and 1 deletions

View file

@ -0,0 +1,21 @@
/**
* @author sw5678
* @copyright Crown Copyright 2023
* @license Apache-2.0
*/
import TestRegister from "../../lib/TestRegister.mjs";
TestRegister.addTests([
{
"name": "Swap Case: basic example",
"input": "/test_dir1/test_file1.txt\n/test_dir1/test_file2.txt\n/test_dir2/test_file1.txt",
"expectedOutput": "test_dir1\n|---test_file1.txt\n|---test_file2.txt\ntest_dir2\n|---test_file1.txt",
"recipeConfig": [
{
"op": "File Tree",
"args": [
],
},
],
}
]);