Skip to content

Commit c93cb8b

Browse files
committed
chore: fix option in test-case
1 parent 7d4ec0d commit c93cb8b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/__tests__/massPeakPicking.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@ describe('Check the peak picking of a simulated mass spectrum', () => {
3737
);
3838
result = optimizePeaks({ x, y }, result, {
3939
factorWidth: 4,
40-
functionName: 'gaussian',
40+
shape: {
41+
kind: 'gaussian',
42+
},
4143
});
4244
expect(result[0].x).toBeCloseTo(69.938, 1);
4345
expect(result[0].y).toBeCloseTo(max, 2);

0 commit comments

Comments
 (0)