Skip to content

Instantly share code, notes, and snippets.

@goldbergyoni
Created April 4, 2021 11:53
Show Gist options
  • Select an option

  • Save goldbergyoni/2a4359818e5b323a87e8b8c3dc78378c to your computer and use it in GitHub Desktop.

Select an option

Save goldbergyoni/2a4359818e5b323a87e8b8c3dc78378c to your computer and use it in GitHub Desktop.
Delete DB beforeEach
beforeEach(() => {
db.Orders.destroy({truncate: false, force:true})
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment