Skip to content

Commit

Permalink
chore: read json instead of import
Browse files Browse the repository at this point in the history
  • Loading branch information
jobo322 committed Oct 9, 2024
1 parent 896b032 commit 2d03886
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/reim/__tests__/reimAutoPhaseCorrection.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,14 @@ import { expect, test } from 'vitest';
import { reimAutoPhaseCorrection } from '../reimAutoPhaseCorrection';
import { reimPhaseCorrection } from '../reimPhaseCorrection';

import onlyOneBaselineZone from './data/onlyOneBaselineZone.json';

const data = JSON.parse(
readFileSync(join(__dirname, 'data/perfect.json')).toString(),
);

const onlyOneBaselineZone = JSON.parse(
readFileSync(join(__dirname, 'data/onlyOneBaselineZone.json')).toString(),
);

test('reverse true', () => {
const ph1 = 15;
const ph0 = 90;
Expand Down

0 comments on commit 2d03886

Please sign in to comment.