try add test file

This commit is contained in:
Harvey Zack committed 2018-11-06 17:26:22 +08:00
1 parent 844d118b80
commit 0fee4186a2
5 files changed
+20 -6

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
import Artplayer from '../src/index';
test('Insert to DOM', t => {
document.body.innerHTML = '<div class="artplayer-app"></div>';
const app = new Artplayer({
container: '.artplayer-app'
});
});