feat(release): prepare 1.1.0 candidate
This commit is contained in:
parent
5a34f66981
commit
5205dcdfa9
736 changed files with 115667 additions and 12203 deletions
20
apps/mobile-rn/__mocks__/react-native-nitro-sound.js
vendored
Normal file
20
apps/mobile-rn/__mocks__/react-native-nitro-sound.js
vendored
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
'use strict';
|
||||
|
||||
const nativeOnly = async () => {
|
||||
throw new Error('Nitro Sound is unavailable in the Jest runtime');
|
||||
};
|
||||
|
||||
module.exports = {
|
||||
AudioEncoderAndroidType: { AAC: 3 },
|
||||
AudioSourceAndroidType: { MIC: 1 },
|
||||
AVEncoderAudioQualityIOSType: { high: 96 },
|
||||
OutputFormatAndroidType: { MPEG_4: 2 },
|
||||
createSound: () => ({
|
||||
addRecordBackListener: () => undefined,
|
||||
pauseRecorder: nativeOnly,
|
||||
resumeRecorder: nativeOnly,
|
||||
setSubscriptionDuration: () => undefined,
|
||||
startRecorder: nativeOnly,
|
||||
stopRecorder: nativeOnly,
|
||||
}),
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue