File tree Expand file tree Collapse file tree
packages/contentstack-export-to-csv/test/unit Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import { expect } from 'chai' ;
2- import { BaseCommand } from '../../dist /base-command' ;
2+ import { BaseCommand } from '../../src /base-command' ;
33
44describe ( 'BaseCommand' , ( ) => {
55 describe ( 'class definition' , ( ) => {
Original file line number Diff line number Diff line change 11import { expect } from 'chai' ;
2- import ExportToCsv from '../../../dist /commands/cm/export-to-csv' ;
2+ import ExportToCsv from '../../../src /commands/cm/export-to-csv' ;
33
44describe ( 'cm:export-to-csv' , ( ) => {
55 describe ( 'command scaffolding' , ( ) => {
Original file line number Diff line number Diff line change 11import { expect } from 'chai' ;
2- import { csvParse } from '../../../dist /utils/csv-writer' ;
2+ import { csvParse } from '../../../src /utils/csv-writer' ;
33
44describe ( 'csv-writer' , ( ) => {
55 describe ( 'module exports' , ( ) => {
66 it ( 'should export write function' , async ( ) => {
7- const csvWriter = await import ( '../../../dist /utils/csv-writer' ) ;
7+ const csvWriter = await import ( '../../../src /utils/csv-writer' ) ;
88 expect ( csvWriter . write ) . to . be . a ( 'function' ) ;
99 } ) ;
1010
1111 it ( 'should export csvParse function' , async ( ) => {
12- const csvWriter = await import ( '../../../dist /utils/csv-writer' ) ;
12+ const csvWriter = await import ( '../../../src /utils/csv-writer' ) ;
1313 expect ( csvWriter . csvParse ) . to . be . a ( 'function' ) ;
1414 } ) ;
1515 } ) ;
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import {
1313 kebabize ,
1414 getFormattedDate ,
1515 getDateTime ,
16- } from '../../../dist /utils/data-transform' ;
16+ } from '../../../src /utils/data-transform' ;
1717
1818describe ( 'data-transform' , ( ) => {
1919 describe ( 'flatten' , ( ) => {
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import sinon from 'sinon';
33import {
44 formatError ,
55 wait ,
6- } from '../../../dist /utils/error-handler' ;
6+ } from '../../../src /utils/error-handler' ;
77
88describe ( 'error-handler' , ( ) => {
99 describe ( 'formatError' , ( ) => {
You can’t perform that action at this time.
0 commit comments