/** * Copyright 2022 Gravwell, Inc. All rights reserved. * * Contact: [legal@gravwell.io](mailto:legal@gravwell.io) * * This software may be modified and distributed under the terms of the MIT * license. See the LICENSE file for details. */ import { TEST_BASE_API_CONTEXT } from '~/tests/config'; import { integrationTest } from '~/tests/test-types'; import { makeIngestMultiLineEntry } from './ingest-multi-line-entry'; describe('ingestMultiLineEntry()', () => { let ingestMultiLineEntry: ReturnType; beforeAll(async () => { ingestMultiLineEntry = makeIngestMultiLineEntry(await TEST_BASE_API_CONTEXT()); }); xit( 'Should ingest the file entry', integrationTest(async () => { const entriesIngestedCount = await ingestMultiLineEntry({ tag: 'custom-test', data: 'This is\na file\nwith three lines', }); expect(entriesIngestedCount).toBe(3); }), ); });