UNPKG

@remotion/bundler

Version:

Bundle Remotion compositions using Webpack

11 lines (10 loc) 507 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const bun_test_1 = require("bun:test"); const bundle_1 = require("../bundle"); (0, bun_test_1.test)('Should reject bad bundle options', () => { // @ts-expect-error (0, bun_test_1.expect)(() => (0, bundle_1.bundle)()).toThrow(/bundle\(\) was called without arguments/); // @ts-expect-error (0, bun_test_1.expect)(() => (0, bundle_1.bundle)({})).toThrow(/bundle\(\) was called without the `entryPoint` option/); });