Adds test skeleton.

This commit is contained in:
Henning Dieterichs
2020-03-24 17:17:47 +01:00
parent 6a71c23fdb
commit 9f94cc7dee
7 changed files with 977 additions and 34 deletions

View File

@@ -0,0 +1,16 @@
import {
getDataExtractorApi,
DataExtractorApiImpl,
} from "@hediet/debug-visualizer-data-extraction";
describe("extractor", () => {
it("should not crash", () => {
const dataExtractor = new DataExtractorApiImpl();
dataExtractor.registerDefaultExtractors();
const result = dataExtractor.getData(
() => [1, 2, 3],
() => null!,
undefined
);
});
});