mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-13 19:30:30 +00:00
14 lines
430 B
TypeScript
14 lines
430 B
TypeScript
import * as request from 'supertest';
|
|
import { app, AuthorizationHeader, orgainzationId } from './init-app-test';
|
|
|
|
describe('Import (e2e)', () => {
|
|
it('/import/sample (GET)', () => {
|
|
return request(app.getHttpServer())
|
|
.get('/import/sample')
|
|
.query({ resource: 'items', format: 'csv' })
|
|
.set('organization-id', orgainzationId)
|
|
.set('Authorization', AuthorizationHeader)
|
|
.expect(200);
|
|
});
|
|
});
|