AssertionError [ERR_ASSERTION]: Input A expected to strictly equal input B:
Installed with npm install and copy/pasting the first line from the readme fails with:
$ npx babel-node --extensions ".ts" -- src/scripts/fetch_original_pages.ts --commit --push ../dossiers-legislatifs
Retrieving Assemblée dossiers…
{ AssertionError [ERR_ASSERTION]: Input A expected to strictly equal input B:
+ expected - actual
- {
- follow: {
- '3': 'Unexpected option'
- }
- }
+ null
at strictEqual (/home/loic/software/tricoteuses/tricoteuses-dossiers-legislatifs/src/scripts/fetch_original_pages.ts:210:14)
at tryCatch (/home/loic/software/tricoteuses/tricoteuses-dossiers-legislatifs/node_modules/regenerator-runtime/runtime.js:45:40)
at Generator.invoke [as _invoke] (/home/loic/software/tricoteuses/tricoteuses-dossiers-legislatifs/node_modules/regenerator-runtime/runtime.js:271:22)
at Generator.prototype.(anonymous function) [as next] (/home/loic/software/tricoteuses/tricoteuses-dossiers-legislatifs/node_modules/regenerator-runtime/runtime.js:97:21)
at asyncGeneratorStep (/home/loic/software/tricoteuses/tricoteuses-dossiers-legislatifs/src/scripts/fetch_original_pages.ts:155:103)
at _next (/home/loic/software/tricoteuses/tricoteuses-dossiers-legislatifs/src/scripts/fetch_original_pages.ts:157:194)
at process._tickCallback (internal/process/next_tick.js:68:7)
generatedMessage: true,
name: 'AssertionError [ERR_ASSERTION]',
code: 'ERR_ASSERTION',
actual: { follow: { '3': 'Unexpected option' } },
expected: null,
operator: 'strictEqual' }