summaryrefslogtreecommitdiff
path: root/jest.config.contract.js
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-11-25 12:07:31 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-11-25 12:07:31 +0000
commit89474d2468f108c909e440efcbe2ce9f7090d19a (patch)
treea8ae7833900e43320347b23b410ced5103953cbf /jest.config.contract.js
parentf15cf65c53f00e5d3a8bad666a95c076c0e4e262 (diff)
downloadgitlab-ce-89474d2468f108c909e440efcbe2ce9f7090d19a.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'jest.config.contract.js')
-rw-r--r--jest.config.contract.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/jest.config.contract.js b/jest.config.contract.js
new file mode 100644
index 00000000000..5668838ca7d
--- /dev/null
+++ b/jest.config.contract.js
@@ -0,0 +1,11 @@
+const baseConfig = require('./jest.config.base');
+
+module.exports = () => {
+ return {
+ testMatch: baseConfig('spec/contracts/consumer').testMatch,
+ transform: {
+ '^.+\\.js$': 'babel-jest',
+ },
+ testEnvironment: baseConfig.testEnvironment,
+ };
+};