antv-l7/packages/renderer/jest.config.js

19 lines
628 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

module.exports = {
globals: {
'ts-jest': {
// @see https://github.com/kulshekhar/ts-jest/issues/933#issuecomment-479821844
babelConfig: {
plugins: [[
// import glsl as raw text
'babel-plugin-inline-import',
{
extensions: [
// 由于使用了 TS 的 resolveJsonModule 选项JSON 可以直接引入,不需要当作纯文本
'.glsl'
]
}
]],
},
},
}
}