UNPKG

@waweb/microbase.context.app

Version:
16 lines 763 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); const react_1 = __importDefault(require("react")); const app_context_composition_1 = require("./app-context.composition"); const react_2 = require("@testing-library/react"); describe("AppProvider", () => { it("should render the button in the color blue", () => { const { getByText } = react_2.render(react_1.default.createElement(app_context_composition_1.BasicThemeUsage, null)); const rendered = getByText("this should be blue"); expect(rendered).toBeTruthy(); }); }); //# sourceMappingURL=app-context.spec.js.map