Completed
Push — master ( 85cc88...392ae4 )
by Arthur
36s
created

Helpers.test.js ➔ ???   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 5
rs 9.4285

1 Function

Rating   Name   Duplication   Size   Complexity  
A Helpers.test.js ➔ ... ➔ ??? 0 3 1
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
})