Skip to content
#

supertest

Here are 334 public repositories matching this topic...

alexanderkjeldaas
alexanderkjeldaas commented Jan 27, 2020

I have a feeling that most people use async/await in new code, and none of the examples use it.

Also, from browsing random issues, better tests will be written using this structure. For example #543 is caused by not using async/await in tests.

// This passes!
it("should reset", async () => {
        request(app)
            .get("/reset")
            .expect(205);
});
mikesparr
mikesparr commented Feb 20, 2019

Many organizations centralize around one or more types of document, or data, but need the ability to monitor edits on a field-by-field basis. Similar to a CRM with customizable contacts, we should include a mechanism for storing documents of multiple types and tracking their changes.

Proposed schema

  • id uuid
  • type string (use ObjectType enum to validate type)
  • properties: `{[k

Improve this page

Add a description, image, and links to the supertest topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the supertest topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.