Skip to content

Commit

Permalink
remove CHROME_BIN from docker env
Browse files Browse the repository at this point in the history
  • Loading branch information
atilafassina committed May 27, 2022
1 parent f275a1e commit e945381
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 16 deletions.
13 changes: 6 additions & 7 deletions .circleci/config.yml
Expand Up @@ -4,9 +4,8 @@ defaults: &defaults
working_directory: ~/project/react-mentions
docker:
- image: cimg/node:16.15.0
environment:
CHROME_BIN: '/usr/bin/google-chrome'
CIRCLE_BRANCH: $CIRCLE_BRANCH
# environment:
# CHROME_BIN: '/usr/bin/google-chrome'

attach_workspace: &attach_workspace
attach_workspace:
Expand Down Expand Up @@ -61,10 +60,10 @@ jobs:
- *restore_cache
- run:
name: Test
command: yarn test --coverage
- run:
name: Codecov
command: bash <(curl -s https://codecov.io/bash)
command: yarn test
# - run:
# name: Codecov
# command: bash <(curl -s https://codecov.io/bash)

release:
<<: *defaults
Expand Down
18 changes: 9 additions & 9 deletions jest/setupTestFramework.js
Expand Up @@ -3,16 +3,16 @@ import 'jest-enzyme'

import { configure } from 'enzyme'
import Adapter from 'enzyme-adapter-react-16'
import jasmineReporters from 'jasmine-reporters'
// import jasmineReporters from 'jasmine-reporters'

configure({ adapter: new Adapter() })

jasmine.VERBOSE = true
// jasmine.VERBOSE = true

jasmine.getEnv().addReporter(
new jasmineReporters.JUnitXmlReporter({
consolidateAll: false,
savePath: './reports/junit',
filePrefix: 'test-results-',
})
)
// jasmine.getEnv().addReporter(
// new jasmineReporters.JUnitXmlReporter({
// consolidateAll: false,
// savePath: './reports/junit',
// filePrefix: 'test-results-',
// })
// )

0 comments on commit e945381

Please sign in to comment.