Skip to content

Commit

Permalink
Fix lint error in Configuration.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jiri-prokop-pb committed Oct 10, 2024
1 parent e86d840 commit df2054b
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions docs/Configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -2030,10 +2030,12 @@ In case you need get specific `exports` for a library or set of libraries, you c
const config = {
testEnvironment: 'jsdom',
testEnvironmentOptions: {
customExportConditions: [{
modules: ['msw', 'msw/node', '@mswjs/interceptors/*'],
conditions: [], // use only basic conditions depending on if it's in CJS/ESM context
}],
customExportConditions: [
{
modules: ['msw', 'msw/node', '@mswjs/interceptors/*'],
conditions: [], // use only basic conditions depending on if it's in CJS/ESM context
},
],
},
};

Expand All @@ -2046,10 +2048,12 @@ import type {Config} from 'jest';
const config: Config = {
testEnvironment: 'jsdom',
testEnvironmentOptions: {
customExportConditions: [{
modules: ['msw', 'msw/node', '@mswjs/interceptors/*'],
conditions: [], // use only basic conditions depending on if it's in CJS/ESM context
}],
customExportConditions: [
{
modules: ['msw', 'msw/node', '@mswjs/interceptors/*'],
conditions: [], // use only basic conditions depending on if it's in CJS/ESM context
},
],
},
};

Expand Down

0 comments on commit df2054b

Please sign in to comment.