Total Complexity | 2 |
Complexity/F | 1 |
Lines of Code | 8 |
Function Count | 2 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | import React from 'react' |
||
2 | import { t } from '../../src/components/Helpers' |
||
3 | |||
4 | describe('to translate string correctly', () => { |
||
5 | test('has changed to Foo baz baz', () => { |
||
6 | expect(t('Foo {{bar}} baz', { 'bar': 'baz' })).toBe('Foo baz baz') |
||
7 | }) |
||
8 | }) |