diff --git a/lib/image-stream/supported.js b/lib/image-stream/supported.js index 210edd25..6d486215 100644 --- a/lib/image-stream/supported.js +++ b/lib/image-stream/supported.js @@ -53,6 +53,10 @@ module.exports = [ extension: 'iso', type: 'image' }, + { + extension: 'bin', + type: 'image' + }, { extension: 'dsk', type: 'image' diff --git a/tests/shared/supported-formats.spec.js b/tests/shared/supported-formats.spec.js index 903bc1b8..9377e9e2 100644 --- a/tests/shared/supported-formats.spec.js +++ b/tests/shared/supported-formats.spec.js @@ -31,7 +31,7 @@ describe('Shared: SupportedFormats', function () { describe('.getNonCompressedExtensions()', 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', 'sdcard', 'rpi-sdimg' ]) + m.chai.expect(extensions).to.deep.equal([ 'img', 'iso', 'bin', 'dsk', 'hddimg', 'raw', 'dmg', 'sdcard', 'rpi-sdimg' ]) }) })