How to use the oc-empty-response-handler.viewModelEmptyKey function in oc-empty-response-handler

To help you get started, we’ve selected a few oc-empty-response-handler 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 opencomponents / oc / test / acceptance / registry.js View on Github external
it('should respond with a minimal empty view-model', () => {
        expect(result.data).to.eql({
          [emptyResponseHandler.viewModelEmptyKey]: true
        });
      });
    });

oc-empty-response-handler

Handler for the empty response use case

MIT
Latest version published 3 years ago

Package Health Score

54 / 100
Full package analysis