Skip to content

Commit 21de1ee

Browse files
committed
fix: import paths in tests
1 parent a90f157 commit 21de1ee

File tree

16 files changed

+42
-42
lines changed

16 files changed

+42
-42
lines changed

src/csvReader.js

Whitespace-only changes.

tests/step-02/index.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const readCSV = require('../src/csvReader');
1+
const readCSV = require('../../src/csvReader');
22

33
test('Read CSV File', async () => {
44
const data = await readCSV('./sample.csv');

tests/step-03/index.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
const readCSV = require('../src/csvReader');
2-
const parseQuery = require('../src/queryParser');
1+
const readCSV = require('../../src/csvReader');
2+
const parseQuery = require('../../src/queryParser');
33

44
test('Read CSV File', async () => {
55
const data = await readCSV('./sample.csv');

tests/step-04/index.test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
const readCSV = require('../src/csvReader');
2-
const parseQuery = require('../src/queryParser');
3-
const executeSELECTQuery = require('../src/index');
1+
const readCSV = require('../../src/csvReader');
2+
const parseQuery = require('../../src/queryParser');
3+
const executeSELECTQuery = require('../../src/index');
44

55
test('Read CSV File', async () => {
66
const data = await readCSV('./sample.csv');

tests/step-05/index.test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
const readCSV = require('../src/csvReader');
2-
const parseQuery = require('../src/queryParser');
3-
const executeSELECTQuery = require('../src/index');
1+
const readCSV = require('../../src/csvReader');
2+
const parseQuery = require('../../src/queryParser');
3+
const executeSELECTQuery = require('../../src/index');
44

55
test('Read CSV File', async () => {
66
const data = await readCSV('./sample.csv');

tests/step-06/index.test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
const readCSV = require('../src/csvReader');
2-
const parseQuery = require('../src/queryParser');
3-
const executeSELECTQuery = require('../src/index');
1+
const readCSV = require('../../src/csvReader');
2+
const parseQuery = require('../../src/queryParser');
3+
const executeSELECTQuery = require('../../src/index');
44

55
test('Read CSV File', async () => {
66
const data = await readCSV('./sample.csv');

tests/step-07/index.test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
const readCSV = require('../src/csvReader');
2-
const parseQuery = require('../src/queryParser');
3-
const executeSELECTQuery = require('../src/index');
1+
const readCSV = require('../../src/csvReader');
2+
const parseQuery = require('../../src/queryParser');
3+
const executeSELECTQuery = require('../../src/index');
44

55
test('Read CSV File', async () => {
66
const data = await readCSV('./sample.csv');

tests/step-08/index.test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
const readCSV = require('../src/csvReader');
2-
const parseQuery = require('../src/queryParser');
3-
const executeSELECTQuery = require('../src/index');
1+
const readCSV = require('../../src/csvReader');
2+
const parseQuery = require('../../src/queryParser');
3+
const executeSELECTQuery = require('../../src/index');
44

55
test('Read CSV File', async () => {
66
const data = await readCSV('./student.csv');

tests/step-09/index.test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
const readCSV = require('../src/csvReader');
2-
const {parseQuery} = require('../src/queryParser');
3-
const executeSELECTQuery = require('../src/index');
1+
const readCSV = require('../../src/csvReader');
2+
const {parseQuery} = require('../../src/queryParser');
3+
const executeSELECTQuery = require('../../src/index');
44

55
test('Read CSV File', async () => {
66
const data = await readCSV('./student.csv');

tests/step-10/index.test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
const readCSV = require('../src/csvReader');
2-
const {parseQuery, parseJoinClause} = require('../src/queryParser');
3-
const executeSELECTQuery = require('../src/index');
1+
const readCSV = require('../../src/csvReader');
2+
const {parseQuery, parseJoinClause} = require('../../src/queryParser');
3+
const executeSELECTQuery = require('../../src/index');
44

55
test('Read CSV File', async () => {
66
const data = await readCSV('./student.csv');

0 commit comments

Comments
 (0)