diff --git a/lib/image-stream/supported.js b/lib/image-stream/supported.js index b955871d..079a823f 100644 --- a/lib/image-stream/supported.js +++ b/lib/image-stream/supported.js @@ -68,5 +68,9 @@ module.exports = [ { extension: 'dmg', type: 'image' + }, + { + extension: 'sdcard', + type: 'image' } ]; diff --git a/tests/shared/supported-formats.spec.js b/tests/shared/supported-formats.spec.js index 69adf6a5..a86321fe 100644 --- a/tests/shared/supported-formats.spec.js +++ b/tests/shared/supported-formats.spec.js @@ -35,7 +35,7 @@ describe('Shared: SupportedFormats', function() { it('should return the supported non compressed extensions', function() { const extensions = supportedFormats.getNonCompressedExtensions(); - m.chai.expect(extensions).to.deep.equal([ 'img', 'iso', 'dsk', 'hddimg', 'raw', 'dmg' ]); + m.chai.expect(extensions).to.deep.equal([ 'img', 'iso', 'dsk', 'hddimg', 'raw', 'dmg', 'sdcard' ]); }); }); @@ -81,7 +81,8 @@ describe('Shared: SupportedFormats', function() { 'path/to/filename.dsk', 'path/to/filename.hddimg', 'path/to/filename.raw', - 'path/to/filename.dmg' + 'path/to/filename.dmg', + 'path/to/filename.sdcard' ], (filename) => { it(`should return true for ${filename}`, function() {