load json cjs

This commit is contained in:
Julien Bisconti 2021-10-23 23:11:02 +02:00
parent 370d33b7a1
commit 6d98886661

View File

@ -1,5 +1,5 @@
import fetch from 'node-fetch'; import fetch from 'node-fetch';
import exclude from './exclude_in_test.json'; const exclude = require('./exclude_in_test.json');
const LINKS_OPTIONS = { const LINKS_OPTIONS = {
redirect: 'error', redirect: 'error',