0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00

Fixed tests for ImportManager audio types

refs c5a4ee89c9

- as of the referenced commit, the supported list of mime types has been
  updated
This commit is contained in:
Daniel Lockyer 2023-03-01 09:12:53 +01:00
parent 6c9e046b4b
commit 4c2ff0539d
No known key found for this signature in database

View file

@ -55,7 +55,7 @@ describe('Importer', function () {
});
it('gets the correct types', function () {
ImportManager.getContentTypes().should.be.instanceof(Array).and.have.lengthOf(22);
ImportManager.getContentTypes().should.be.instanceof(Array).and.have.lengthOf(23);
ImportManager.getContentTypes().should.containEql('image/jpeg');
ImportManager.getContentTypes().should.containEql('image/png');
ImportManager.getContentTypes().should.containEql('image/gif');
@ -67,6 +67,7 @@ describe('Importer', function () {
ImportManager.getContentTypes().should.containEql('video/mp4');
ImportManager.getContentTypes().should.containEql('video/webm');
ImportManager.getContentTypes().should.containEql('video/ogg');
ImportManager.getContentTypes().should.containEql('audio/mp4');
ImportManager.getContentTypes().should.containEql('audio/mpeg');
ImportManager.getContentTypes().should.containEql('audio/vnd.wav');
ImportManager.getContentTypes().should.containEql('audio/wave');