-
-
Save dvallin/108d4afa63c64cdaef3bf1ae1fe7c507 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const taskA = new Task("id", "taskA"); | |
const taskB = new Task("id", "taskB"); | |
getters.tasksOrderedByTitle = jest.fn().mockReturnValueOnce([taskA, taskB]); | |
expect(getters.lowestTitle({}, getters)).toEqual(taskA); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment