@shopify/cli-kit
Version:
A set of utilities, interfaces, and models that are common across all the platform features
11 lines • 468 B
JavaScript
import { UserInput } from './UserInput.js';
import { render } from '../../testing/ui.js';
import { describe, expect, test } from 'vitest';
import React from 'react';
describe('UserInput', async () => {
test('renders correctly', async () => {
const { lastFrame } = render(React.createElement(UserInput, { userInput: "my-app" }));
expect(lastFrame()).toMatchInlineSnapshot('"[36mmy-app[39m"');
});
});
//# sourceMappingURL=UserInput.test.js.map