components/upload/index.spec.js
function fixInputChange(input) {
    let files;
    Object.defineProperty(input, 'files', {
        set(v) { files = v; dispatchEvent(input, 'change'); },
        get(v) { return files }
    });
}
function fixInputChange(input) {
    let files;
    Object.defineProperty(input, 'files', {
        set(v) { files = v; dispatchEvent(input, 'change'); },
        get(v) { return files }
    });
}
function fixInputChange ( input ) { let files ; Object . defineProperty ( input , 'files' , { set ( v ) { files = v ; dispatchEvent ( input , 'change' ) ; } , get ( v ) { return files } } ) ; }
we should trigger change event manually in the newest ChromeHeadless
we should trigger change event manually in the newest ChromeHeadless