Create the NAP-UPLOAD mock.
Rails, caps, staging, and shared mock options.
A service-kind mock for the upload domain with advance/failUpload controls.
service
upload
advance
failUpload
const upload = createMockUploadService();upload.handleMessage('w1', { type: 'upload.upload', id: 'u1', request: { data: new Uint8Array([1]), filename: 'a.bin' } }, send); Copy
const upload = createMockUploadService();upload.handleMessage('w1', { type: 'upload.upload', id: 'u1', request: { data: new Uint8Array([1]), filename: 'a.bin' } }, send);
Create the NAP-UPLOAD mock.