How to use @parse/fs-files-adapter - 2 common examples

To help you get started, we’ve selected a few @parse/fs-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 use the default adapter', done => {
    const defaultAdapter = new FilesAdapter();
    const adapter = loadAdapter(null, defaultAdapter);
    expect(adapter instanceof FilesAdapter).toBe(true);
    done();
  });
github parse-community / parse-server / spec / AdapterLoader.spec.js View on Github external
it('should use the provided adapter', done => {
    const originalAdapter = new FilesAdapter();
    const adapter = loadAdapter(originalAdapter);
    expect(adapter).toBe(originalAdapter);
    done();
  });

@parse/fs-files-adapter

File system adapter for parse-server

MIT
Latest version published 2 months ago

Package Health Score

79 / 100
Full package analysis

Popular @parse/fs-files-adapter functions