UNPKG

@applicaster/zapplicaster-cli

Version:

CLI Tool for the zapp app and Quick Brick project

28 lines (21 loc) 612 B
const { migrateZappPlugin } = require("../index"); jest.mock("../../../taskRunner", () => ({ taskRunner: jest.fn((x) => x), })); jest.mock("../configurator", () => ({ configurator: jest.fn(), })); jest.mock("../createPluginEntryPoint", () => ({ createPluginEntryPoint: jest.fn(), })); jest.mock("../updatePackageJson", () => ({ updatePackageJson: jest.fn(), })); jest.mock("../updateZappifest", () => ({ updateZappifest: jest.fn(), })); describe("migrateZappPlugin", () => { it("returns the properly formatted command object", () => { expect(migrateZappPlugin).toMatchSnapshot(); }); });