How to use @parse/s3-files-adapter - 1 common examples

To help you get started, we’ve selected a few @parse/s3-files-adapter examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github parse-community / parse-server / spec / AdapterLoader.spec.js View on Github external
it('should load S3Adapter from direct passing', done => {
    spyOn(console, 'warn').and.callFake(() => {});
    const s3Adapter = new S3Adapter('key', 'secret', 'bucket');
    expect(() => {
      const adapter = loadAdapter(s3Adapter, FilesAdapter);
      expect(adapter).toBe(s3Adapter);
    }).not.toThrow();
    done();
  });
});

@parse/s3-files-adapter

AWS S3 adapter for parse-server

ISC
Latest version published 11 months ago

Package Health Score

73 / 100
Full package analysis

Popular @parse/s3-files-adapter functions