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