* Implements typing of helper functions * Shift+F1 opens a new debug visualizer window if none is opened yet
14 lines
307 B
TypeScript
14 lines
307 B
TypeScript
import { DataExtractorApiImpl } from "../";
|
|
|
|
describe("extractor", () => {
|
|
it("should not crash", () => {
|
|
const dataExtractor = new DataExtractorApiImpl();
|
|
dataExtractor.registerDefaultExtractors();
|
|
const result = dataExtractor.getData(
|
|
() => [1, 2, 3],
|
|
() => null!,
|
|
undefined
|
|
);
|
|
});
|
|
});
|