mirror of
https://github.com/frappe/books.git
synced 2026-08-24 10:04:45 -05:00
feat: start rewriting data import as the import wizard
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import { ModelNameEnum } from 'models/types';
|
||||
import { Importer } from 'src/importer';
|
||||
import test from 'tape';
|
||||
import { closeTestFyo, getTestFyo, setupTestFyo } from './helpers';
|
||||
|
||||
const fyo = getTestFyo();
|
||||
setupTestFyo(fyo, __filename);
|
||||
|
||||
test('importer', async (t) => {
|
||||
const importer = new Importer(ModelNameEnum.SalesInvoice, fyo);
|
||||
t.ok(importer.getCSVTemplate());
|
||||
});
|
||||
|
||||
closeTestFyo(fyo, __filename);
|
||||
Reference in New Issue
Block a user