重写测试用例

This commit is contained in:
Harvey committed 2020-05-21 10:13:03 +08:00
1 parent 50f51e413b
commit cd89e8afd8
8 files changed
+9 -1477

No files matched your search

+1 -1
View File
@@ -1,5 +1,5 @@
describe('Constructor', function() {
var url = 'https://zhw2590582.github.io/assets-cdn/video/one-more-time-one-more-chance-480p.mp4';
var url = 'https://artplayer.org/assets/sample/video.mp4';
afterEach(function() {
[...Artplayer.instances].forEach(art => {
File diff suppressed because it is too large. Load diff
-2
View File
@@ -40,11 +40,9 @@
<script src="https://cdn.bootcss.com/dashjs/2.9.2/dash.all.min.js"></script>
<script src="https://cdn.bootcss.com/shaka-player/2.5.0-beta/shaka-player.compiled.js"></script>
<script src="https://cdn.bootcss.com/webtorrent/0.102.4/webtorrent.min.js"></script>
<!-- <script src="../docs/uncompiled/artplayer.js"></script> -->
<script src="../dist/artplayer.js"></script>
<script src="./constructor.test.js"></script>
<script src="./option.test.js"></script>
<script src="./document.test.js"></script>
<script>
mocha.checkLeaks();
mocha.run();
+1 -1
View File
@@ -1,5 +1,5 @@
describe('Option', function() {
var url = 'https://zhw2590582.github.io/assets-cdn/video/one-more-time-one-more-chance-480p.mp4';
var url = 'https://artplayer.org/assets/sample/video.mp4';
afterEach(function() {
[...Artplayer.instances].forEach(art => {