1234567891011121314151617181920212223242526272829303132333435363738 |
- import { setVerbosityLevel, VerbosityLevel } from "../../src/shared/util.js";
- import { isNodeJS } from "../../src/shared/is_node.js";
- import { PDFNodeStream } from "../../src/display/node_stream.js";
- import { setPDFNetworkStreamFactory } from "../../src/display/api.js";
- jasmine.DEFAULT_TIMEOUT_INTERVAL = 30000;
- if (!isNodeJS) {
- throw new Error(
- "The `gulp unittestcli` command can only be used in Node.js environments."
- );
- }
- setVerbosityLevel(VerbosityLevel.ERRORS);
- setPDFNetworkStreamFactory(function (params) {
- return new PDFNodeStream(params);
- });
|