mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-08 19:06:15 -08:00
11 lines
348 B
JavaScript
11 lines
348 B
JavaScript
describe('Artplayer', function () {
|
|
afterEach(function () {
|
|
[...Artplayer.instances].forEach((art) => art.destroy());
|
|
});
|
|
|
|
it('Constructor', function () {
|
|
expect(Artplayer).to.be.an('function');
|
|
expect(Artplayer.instances).to.be.an('array');
|
|
expect(Artplayer.instances.length).to.be.equal(0);
|
|
});
|
|
}); |