Add jest-raw-loader
This commit is contained in:
parent
6f922769a3
commit
371d1026fa
4 changed files with 9 additions and 4 deletions
2
src/@types/raw-loader.d.ts
vendored
2
src/@types/raw-loader.d.ts
vendored
|
@ -16,5 +16,5 @@ limitations under the License.
|
|||
|
||||
declare module '!!raw-loader!*' {
|
||||
const contents: string;
|
||||
export = contents;
|
||||
export default contents;
|
||||
}
|
||||
|
|
|
@ -69,8 +69,6 @@ export default abstract class Exporter {
|
|||
protected async downloadZIP(): Promise<any> {
|
||||
const filename = `matrix-export-${formatFullDateNoDay(new Date())}.zip`;
|
||||
|
||||
console.log(this.files, this.files.length);
|
||||
|
||||
const zip = new JSZip();
|
||||
// Create a writable stream to the directory
|
||||
if (!this.cancelled) this.updateProgress("Generating a ZIP");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue