mirror of
https://github.com/directus/directus.git
synced 2026-01-28 01:28:26 -05:00
* getting closer, trying to add things in * positioning and story props * add window-size index.ts * positioning fixes * hover half working * more stories, no activator, positionxy * minor fixes * clickable menus in story * fixed glitch in no activator, using correct iscontentactive var * readme for menu * readme for clickoutside * test for v-menu * tests * test mocks * Add new v-click-outside directive * no iscontentactive * simplified * tweak * Create menu based on popper * Finish menu * Remove unused imports * Remove todos from menu Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
22 lines
515 B
JavaScript
22 lines
515 B
JavaScript
const esModules = ['@popperjs/core'].join('|');
|
|
|
|
module.exports = {
|
|
preset: '@vue/cli-plugin-unit-jest/presets/typescript-and-babel',
|
|
testMatch: ['**/?(*.)+(spec|test).[jt]s?(x)'],
|
|
coveragePathIgnorePatterns: ['<rootDir>/node_modules/', '<rootDir>/.jest/'],
|
|
transformIgnorePatterns: [`/node_modules/(?!${esModules})`],
|
|
restoreMocks: true,
|
|
clearMocks: true,
|
|
resetMocks: true,
|
|
reporters: [
|
|
'default',
|
|
[
|
|
'jest-sonar',
|
|
{
|
|
outputDirectory: 'coverage',
|
|
outputName: 'sonar.xml',
|
|
},
|
|
],
|
|
],
|
|
};
|