From 31773dc4b31a2b7d12a85bdd1b4b29c3f7df8dba Mon Sep 17 00:00:00 2001 From: Robert Broersma Date: Fri, 17 Jul 2020 10:43:52 +0200 Subject: [PATCH] Add Jest configs --- api/jest.config.js | 6 ++++++ web/jest.config.js | 6 ++++++ 2 files changed, 12 insertions(+) create mode 100644 api/jest.config.js create mode 100644 web/jest.config.js diff --git a/api/jest.config.js b/api/jest.config.js new file mode 100644 index 0000000..09205b8 --- /dev/null +++ b/api/jest.config.js @@ -0,0 +1,6 @@ +const { getConfig } = require('@redwoodjs/core') + +const config = getConfig({ type: 'jest', target: 'node' }) +config.displayName.name = 'api' + +module.exports = config diff --git a/web/jest.config.js b/web/jest.config.js new file mode 100644 index 0000000..2959538 --- /dev/null +++ b/web/jest.config.js @@ -0,0 +1,6 @@ +const { getConfig } = require('@redwoodjs/core') + +const config = getConfig({ type: 'jest', target: 'browser' }) +config.displayName.name = 'web' + +module.exports = config