Skip to content

Commit

Permalink
path test
Browse files Browse the repository at this point in the history
  • Loading branch information
vedantroy committed Mar 24, 2021
1 parent 88b0792 commit 144e373
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 0 deletions.
Empty file.
3 changes: 3 additions & 0 deletions tests/e2e/add-ext-using-path/cmd.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"params": [{"type": "path", "value": "./snippet"}]
}
16 changes: 16 additions & 0 deletions tests/e2e/add-ext-using-path/expected.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"type": "dir",
"name": "temp",
"children": [
{
"type": "file",
"name": "foo.bar",
"text": ""
},
{
"type": "dir",
"name": "bar.bar",
"children": []
}
]
}
1 change: 1 addition & 0 deletions tests/e2e/add-ext-using-path/snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
f.mv(f + ".bar")

0 comments on commit 144e373

Please sign in to comment.