File tree Expand file tree Collapse file tree
source/augment-ui/src/scripts Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,18 +17,18 @@ test("converts to liquid", () => {
1717 {
1818 description : "javascript with href gets liquid tag" ,
1919 input : `<link href="/mypath">` ,
20- expected : `<link href="{{ " ${ testS3Prefix } /mypath" | grant_read_access }}">` ,
20+ expected : `<link href="{{ ' ${ testS3Prefix } /mypath' | grant_read_access }}">` ,
2121 } ,
2222 {
2323 description : "input with asset class gets liquid tag" ,
2424 input : `<input class="asset" data-name="myName" data-src="/myPath">` ,
25- expected : `<input class="asset" data-name="myName" data-src="{{ " ${ testS3Prefix } /myPath" | grant_read_access }}">` ,
25+ expected : `<input class="asset" data-name="myName" data-src="{{ ' ${ testS3Prefix } /myPath' | grant_read_access }}">` ,
2626 } ,
2727 {
2828 description :
2929 "input with s3-file class and literal s3 file gets literal liquid tag" ,
3030 input : `<input class="s3-file" data-name="myName" data-src="s3://hello/world">` ,
31- expected : `<input class="s3-file" data-name="myName" data-src="{{ " s3://hello/world" | grant_read_access }}">` ,
31+ expected : `<input class="s3-file" data-name="myName" data-src="{{ ' s3://hello/world' | grant_read_access }}">` ,
3232 } ,
3333 {
3434 description :
You can’t perform that action at this time.
0 commit comments