-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
172 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,126 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`md-video-mfr make sure normal iframe generates properly when empty 1`] = ` | ||
<p> | ||
</p> | ||
`; | ||
|
||
exports[`md-video-mfr make sure normal iframe generates properly with guid 1`] = ` | ||
<p> | ||
<div id="1.2" | ||
class="mfr mfr-file" | ||
> | ||
</div> | ||
<script> | ||
$(document).ready(function () {new mfr.Render("1.2", "https://mfr.osf.io/render?url=https://osf.io/xxxxx/?action=download%26mode=render"); }); | ||
</script> | ||
</p> | ||
`; | ||
|
||
exports[`md-video-mfr make sure normal iframe generates properly with guid and extra space 1`] = ` | ||
<p> | ||
<div id="1.2" | ||
class="mfr mfr-file" | ||
> | ||
</div> | ||
<script> | ||
$(document).ready(function () {new mfr.Render("1.2", "https://mfr.osf.io/render?url=https://osf.io/xxxxx/?action=download%26mode=render"); }); | ||
</script> | ||
</p> | ||
`; | ||
|
||
exports[`md-video-mfr make sure normal iframe generates properly with guid and line break 1`] = ` | ||
<p> | ||
<div id="1.2" | ||
class="mfr mfr-file" | ||
> | ||
</div> | ||
<script> | ||
$(document).ready(function () {new mfr.Render("1.2", "https://mfr.osf.io/render?url=https://osf.io/xxxxx/?action=download%26mode=render"); }); | ||
</script> | ||
</p> | ||
`; | ||
|
||
exports[`md-video-mfr make sure normal iframe generates properly with guid and two extra spaces 1`] = ` | ||
<p> | ||
<div id="1.2" | ||
class="mfr mfr-file" | ||
> | ||
</div> | ||
<script> | ||
$(document).ready(function () {new mfr.Render("1.2", "https://mfr.osf.io/render?url=https://osf.io/xxxxx/?action=download%26mode=render"); }); | ||
</script> | ||
</p> | ||
`; | ||
|
||
exports[`md-video-mfr make sure normal iframe generates properly with link 1`] = ` | ||
<p> | ||
<div id="1.2" | ||
class="mfr mfr-file" | ||
> | ||
</div> | ||
<script> | ||
$(document).ready(function () {new mfr.Render("1.2", "https://mfr.osf.io/render?url=https://osf.io/xxxxx/?action=download%26mode=render"); }); | ||
</script> | ||
</p> | ||
`; | ||
|
||
exports[`md-video-mfr make sure normal iframe generates properly with link and extra space 1`] = ` | ||
<p> | ||
<div id="1.2" | ||
class="mfr mfr-file" | ||
> | ||
</div> | ||
<script> | ||
$(document).ready(function () {new mfr.Render("1.2", "https://mfr.osf.io/render?url=https://osf.io/xxxxx/?action=download%26mode=render"); }); | ||
</script> | ||
</p> | ||
`; | ||
|
||
exports[`md-video-mfr make sure normal iframe generates properly with link and two extra spaces 1`] = ` | ||
<p> | ||
<div id="1.2" | ||
class="mfr mfr-file" | ||
> | ||
</div> | ||
<script> | ||
$(document).ready(function () {new mfr.Render("1.2", "https://mfr.osf.io/render?url=https://osf.io/xxxxx/?action=download%26mode=render"); }); | ||
</script> | ||
</p> | ||
`; | ||
|
||
exports[`md-video-mfr make sure normal iframe generates properly with link to local 1`] = ` | ||
<p> | ||
<div id="1.2" | ||
class="mfr mfr-file" | ||
> | ||
</div> | ||
<script> | ||
$(document).ready(function () {new mfr.Render("1.2", "https://localhost:7778/render?url=https://localhost:5000/xxxxx/?action=download%26mode=render"); }); | ||
</script> | ||
</p> | ||
`; | ||
|
||
exports[`md-video-mfr make sure normal iframe generates properly with link to local ip 1`] = ` | ||
<p> | ||
<div id="1.2" | ||
class="mfr mfr-file" | ||
> | ||
</div> | ||
<script> | ||
$(document).ready(function () {new mfr.Render("1.2", "http://localhost:7778/render?mode=render&url=http://192.168.168.167:5000/y98tn/?action=download%26mode=render%26direct"); }); | ||
</script> | ||
</p> | ||
`; | ||
|
||
exports[`md-video-mfr make sure normal iframe generates properly with link to staging 1`] = ` | ||
<p> | ||
<div id="1.2" | ||
class="mfr mfr-file" | ||
> | ||
</div> | ||
<script> | ||
$(document).ready(function () {new mfr.Render("1.2", "https://mfr-staging3.osf.io/render?url=https://staging3.osf.io/xxxxx/?action=download%26mode=render"); }); | ||
</script> | ||
</p> | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters