Adds test skeleton.
This commit is contained in:
16
data-extraction/test/main.test.ts
Normal file
16
data-extraction/test/main.test.ts
Normal 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
|
||||
);
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user