Skip to content

Instantly share code, notes, and snippets.

@johndowns
Last active February 10, 2018 23:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save johndowns/c7f12420745dc8f3c3349116ebb3f570 to your computer and use it in GitHub Desktop.
Save johndowns/c7f12420745dc8f3c3349116ebb3f570 to your computer and use it in GitHub Desktop.
import {getGroupedOrdersImpl} from '../src/getGroupedOrders'
describe("getGroupedOrdersImpl", function() {
it("should return an empty array", function() {
// arrange
var collectionObject = null;
// act
var result = getGroupedOrdersImpl([], collectionObject);
// assert
expect(result.length).toBe(0);
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment