Skip to content

Commit

Permalink
Organize file structure
Browse files Browse the repository at this point in the history
  • Loading branch information
MarvNC committed Jan 20, 2024
1 parent 518dcfd commit 3f2f890
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/test/parseEntry.test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import test from 'ava';
import path from 'path';

import { parseCSVEntries } from '../util/parseCsvEntries.js';
import { parseCSVEntries } from '../util/csv/parseCsvEntriesToJson.js';

const testCsvFile = 'src/test/testdata.csv';

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { readCSVAsync } from './csvHandler.js';
import { parseEntry } from './parseEntry.js';
import { parseEntry } from './parseEntryToJson.js';

async function parseCSVEntries(allCsvPath) {
const data = await readCSVAsync(allCsvPath);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { languages } from '../constants.js';
import { languages } from '../../constants.js';

/**
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { TermEntry } from 'yomichan-dict-builder';
import { languages } from '../constants';
import { languages } from '../../constants';

/**
*
Expand Down
File renamed without changes.

0 comments on commit 3f2f890

Please sign in to comment.