We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 764c207 commit 2c4e3f4Copy full SHA for 2c4e3f4
tests/training-sheets/extract-google-sheet-data.test.ts
@@ -2,6 +2,7 @@ import pino from 'pino';
2
import * as O from 'fp-ts/Option';
3
import {extractGoogleSheetData} from '../../src/training-sheets/google';
4
import {UUID} from 'io-ts-types';
5
+import {getSomeOrFail} from '../helpers';
6
7
describe('extractGoogleSheetData', () => {
8
it('Extract google sheet data, missing columns', () => {
@@ -42,6 +43,6 @@ describe('extractGoogleSheetData', () => {
42
43
],
44
});
45
// Check that no valid results are produced but that we don't error.
- expect(results).toHaveLength(0);
46
+ expect(getSomeOrFail(results)).toHaveLength(0);
47
48
0 commit comments