Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
atuchin-m committed Nov 20, 2024
1 parent 0886bb4 commit ac905f2
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/finch_tracker/tracker_lib.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ import * as fs from 'fs';
import * as os from 'os';

import { describe, expect, test } from '@jest/globals';
import JSON5 from 'json5';
import path from 'path';
import { StudyPriority } from '../core/study_processor';
import { ItemAction, makeSummary, summaryToJson } from '../core/summary';
import { Study, Study_Channel, Study_Platform } from '../proto/generated/study';
import { VariationsSeed } from '../proto/generated/variations_seed';
import { storeDataToDirectory } from './tracker_lib';
import JSON5 from 'json5';

function readDirectory(dir: string): Record<string, any> {
const files = fs
Expand All @@ -40,10 +40,9 @@ test('seed serialization', async () => {
isBraveSeed: true,
});

const serializedOutput = JSON5.stringify(
readDirectory(path.join(tempDir)),
{ space: 2 },
);
const serializedOutput = JSON5.stringify(readDirectory(path.join(tempDir)), {
space: 2,
});
const serializedExpectations = fs
.readFileSync('src/test/data/seed1.bin.processing_expectations')
.toString();
Expand Down

0 comments on commit ac905f2

Please sign in to comment.