Skip to content

Commit

Permalink
Merge pull request #1 from terrestris/plugin-integration
Browse files Browse the repository at this point in the history
feat: basic introduction of plugin-chart-ol
  • Loading branch information
jansule authored Jan 4, 2023
2 parents 734d423 + 167142b commit 18cb5c0
Show file tree
Hide file tree
Showing 57 changed files with 76,656 additions and 62,410 deletions.
6 changes: 6 additions & 0 deletions superset-frontend/babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ module.exports = {
sourceMaps: true,
sourceType: 'module',
retainLines: true,
// After adding transformIgnorePatterns to jest.config.js
// the tests failed. Following line fixed the problem. See also
// https://github.com/babel/babel/issues/8731#issuecomment-423845498
// core-js seems to be packaged as commonjs modules, so it should
// be (more or less) save to ignore them with babel.
ignore: [/^core-js$/],
presets: [
[
'@babel/preset-env',
Expand Down
1 change: 1 addition & 0 deletions superset-frontend/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ module.exports = {
// mapping plugins of superset-ui to souce code
'@superset-ui/(.*)$': '<rootDir>/node_modules/@superset-ui/$1/src',
},
transformIgnorePatterns: ['node_modules/(?!(ol))'],
testEnvironment: 'jsdom',
modulePathIgnorePatterns: ['<rootDir>/packages/generator-superset'],
setupFilesAfterEnv: ['<rootDir>/spec/helpers/setup.ts'],
Expand Down
Loading

0 comments on commit 18cb5c0

Please sign in to comment.