Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
klzns committed Jan 14, 2019
1 parent 2b3a967 commit bee6c93
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion demo/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { Component } from 'react'
import { IntlProvider, addLocaleData } from 'react-intl'
import ptLocaleData from 'react-intl/locale-data/pt'
import Button from '@vtex/styleguide/lib/Button'
import ptTranslations from '../../messages/pt-BR'
import ptTranslations from '../../messages/pt'
import ProfileContainer from '../../react/ProfileContainer'
import ProfileRules from '../../react/ProfileRules'
import ProfileSummary from '../../react/ProfileSummary'
Expand Down
2 changes: 1 addition & 1 deletion react/__tests__/ProfileContainer.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import ProfileField from '../ProfileField'
import mockRules from '../__mocks__/rules'
import mockProfile from '../__mocks__/profile'

loadTranslation('../messages/pt-BR.json')
loadTranslation('../messages/pt.json')

describe('ProfileContainer', () => {
let wrapper
Expand Down
2 changes: 1 addition & 1 deletion react/__tests__/ProfileSummary.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import ProfileSummary from '../ProfileSummary'
import mockRules from '../__mocks__/rules'
import mockProfile from '../__mocks__/profile'

loadTranslation('../messages/pt-BR.json')
loadTranslation('../messages/pt.json')

describe('ProfileSummary', () => {
let wrapper
Expand Down
2 changes: 1 addition & 1 deletion react/__tests__/StyleguideInput.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import StyleguideInput from '../inputs/StyleguideInput'
import mockField from '../__mocks__/ruleField'
import mockData from '../__mocks__/profileField'

loadTranslation('../messages/pt-BR.json')
loadTranslation('../messages/pt.json')

describe('StyleguideInput', () => {
let wrapper
Expand Down

0 comments on commit bee6c93

Please sign in to comment.