Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
csouchet committed Jul 30, 2024
1 parent 3fc7289 commit 87b9c1e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion test/config/jest-playwright.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ const computeConfigurationForDevelopmentServerUsage = defaultBrowsers => {
const computeConfiguration = options => {
let configuration;
configuration =
options.startWebServer ?? true ? computeConfigurationForDevelopmentServerUsage(options.defaultBrowsers) : computeConfigurationForStaticUsage(options.defaultBrowsers);
(options.startWebServer ?? true) ? computeConfigurationForDevelopmentServerUsage(options.defaultBrowsers) : computeConfigurationForStaticUsage(options.defaultBrowsers);
log('Computed configuration', configuration);
return configuration;
};
Expand Down
2 changes: 1 addition & 1 deletion test/performance/bpmn.load.performance.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ afterAll(async () => {
await metricsCollector.destroy().then(() => {
try {
const oldDataString = fs.readFileSync(performanceDataFilePath, 'utf8');
const oldData = JSON.parse(oldDataString.slice('const data = '.length, oldDataString.length)) as ChartData;
const oldData = JSON.parse(oldDataString.slice('const data = '.length)) as ChartData;
const data = {
zoom: oldData.zoom,
load: [...oldData.load, ...metricsArray],
Expand Down
2 changes: 1 addition & 1 deletion test/performance/bpmn.navigation.performance.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ afterAll(async () => {
await metricsCollector.destroy().then(() => {
try {
const oldDataString = fs.readFileSync(performanceDataFilePath, 'utf8');
const oldData = JSON.parse(oldDataString.slice('const data = '.length, oldDataString.length)) as ChartData;
const oldData = JSON.parse(oldDataString.slice('const data = '.length)) as ChartData;
const data = {
zoom: [...oldData.zoom, ...metricsArray],
load: oldData.load,
Expand Down
2 changes: 1 addition & 1 deletion test/unit/helpers/JsonBuilder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ function addEventDefinitions(
...(typeof eventDefinition === 'object' ? eventDefinition : { id: eventDefinition }),
...buildEventDefinition(eventDefinitionKind, idSuffix, source, target),
}
: eventDefinition ?? '';
: (eventDefinition ?? '');

addEventDefinition(elementWhereAddDefinition, eventDefinitionKind, eventDefinitions);
}
Expand Down

0 comments on commit 87b9c1e

Please sign in to comment.