Skip to content

Commit 81343c1

Browse files
Added some comments regarding multipart attachments
1 parent ce075ed commit 81343c1

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

tests/bundles/auto-tests.zzb

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,8 +382,15 @@ requests:
382382
method: POST
383383
url: /post
384384
formValues:
385+
# The following files should be relative to the current directory,
386+
# but are like this so that the jest tests can find them (they run
387+
# from the root directory)
385388
first: file://./tests/bundles/test-text-files/file2.txt
386389
second: file://./tests/bundles/test-text-files/file3.txt
390+
# Comment the above and uncomment the following for manual tests
391+
# within VS Code
392+
# first: file://./test-text-files/file2.txt
393+
# second: file://./test-text-files/file3.txt
387394
name: John
388395
tests:
389396
$.headers['content-type']: {$regex: multipart/form-data, $options : i}
@@ -410,7 +417,10 @@ requests:
410417
method: POST
411418
url: /post
412419
formValues:
413-
name:
420+
name:
421+
# The following files should be relative to the current directory,
422+
# but are like this so that the jest tests can find them (they run
423+
# from the root directory) Remove "tests/bundles/" to run in VS Code
414424
- file://./tests/bundles/test-text-files/file1.txt
415425
- file://./tests/bundles/test-text-files/file2.txt
416426

0 commit comments

Comments
 (0)