How to use the supertest.del function in supertest

To help you get started, we’ve selected a few supertest 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 DavidAnson / PassWeb / Test / RemoteStorage.js View on Github external
var cleanup = function() {
      request
        .del("")
        .query({ name: "same-names" })
        .expect("Content-Type", /^text\/plain/)
        .expect(200, "", done);
    };
    var test = function() {

supertest

SuperAgent driven library for testing HTTP servers

MIT
Latest version published 6 months ago

Package Health Score

84 / 100
Full package analysis