Skip to content

Commit 8b174fb

Browse files
authored
Add files via upload
1 parent b07cf61 commit 8b174fb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

js/__tests__/turtle-singer.test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ global.isCustomTemperament = mockGlobals.isCustomTemperament;
1717
global.getStepSizeUp = mockGlobals.getStepSizeUp;
1818
global.numberToPitch = mockGlobals.numberToPitch;
1919
global.pitchToNumber = mockGlobals.pitchToNumber;
20+
global.last = jest.fn((array) => array[array.length - 1]);
21+
2022

2123
describe('Singer Class', () => {
2224
let turtleMock;

0 commit comments

Comments
 (0)