qnce-engine
Version:
Core QNCE (Quantum Narrative Convergence Engine) - Framework agnostic narrative engine with performance optimization
18 lines • 996 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const jsx_runtime_1 = require("react/jsx-runtime");
const react_1 = require("@testing-library/react");
// Create a minimal smoke test to isolate the issue
describe('Minimal Component Smoke Test', () => {
it('should render a simple div', () => {
const TestComponent = () => (0, jsx_runtime_1.jsx)("div", { "data-testid": "simple-test", children: "Hello" });
const { getByTestId } = (0, react_1.render)((0, jsx_runtime_1.jsx)(TestComponent, {}));
expect(getByTestId('simple-test')).toBeInTheDocument();
});
it('should render a simple button', () => {
const TestButton = () => (0, jsx_runtime_1.jsx)("button", { "data-testid": "simple-button", children: "Click me" });
const { getByTestId } = (0, react_1.render)((0, jsx_runtime_1.jsx)(TestButton, {}));
expect(getByTestId('simple-button')).toBeInTheDocument();
});
});
//# sourceMappingURL=smoke-test.js.map