Add yaml support in jest

Signed-off-by: Marcus Eide <eide@spotify.com>
This commit is contained in:
Marcus Eide
2021-05-21 15:14:37 +02:00
parent 122caf5620
commit 76e6c0b53b
3 changed files with 18 additions and 0 deletions
+1
View File
@@ -89,6 +89,7 @@ async function getConfig() {
'\\.(bmp|gif|jpg|jpeg|png|frag|xml|svg)$': require.resolve(
'./jestFileTransform.js',
),
'\\.(yaml)$': require.resolve('yaml-jest'),
},
// A bit more opinionated