import {render, screen} from 'sentry-test/reactTestingLibrary';
import {textWithMarkupMatcher} from 'sentry-test/utils';
import {tct} from 'sentry/locale';
describe('locale.gettextComponentTemplate', () => {
it('should not wrap translated text in span', () => {
// spaces are removed because pretter keeps trying to remove them in the snapshot
expect(
tct('hello[one]two[three:3]', {
one: ' one',
three: ,
})
).toMatchInlineSnapshot(`