Skip to content

Commit 7c0dcdf

Browse files
committed
break the test to check the CI
1 parent f6652c1 commit 7c0dcdf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ always-auth=true
3939
- Track, tag and export components to your collection, [Alert component for example](src/components/Alert).
4040
- Read how creating encrypted secrets for a repository (https://help.github.com/en/actions/configuring-and-managing-workflows/creating-and-storing-encrypted-secrets#creating-encrypted-secrets-for-a-repository).
4141
- Create a new secret and name it `BIT_COLLECTION` and set your collection in the value: `<USER_NAME>.<COLLECTION_NAME>`. For example: `joshk.bit-with-github-actions`.
42-
- Create a new workflow file for bit export commands. Inside the file we need to do the following: configure Bit token, install Bit, run bit import, build&test, tag and export(tag and export will run only if changes are made to components).
42+
- Create a new workflow file for bit export commands. Inside the file we need to do the following: configure Bit token, install Bit, run bit import, build&test, tag and export.
4343
Check out the [workflows file](.github/workflows/bitexport.yml) I created for this, it will run when push to master are made(you can change it to your needs).
4444
Bit will tag components only if changes are made, and it will export and commit back to master the changes that are made to the `.bitmap` file.
4545

src/components/Alert/alert.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ afterEach(() => {
2020
describe('Alert Component Testing', () => {
2121
it('Renders hello title', () => {
2222
act(() => {
23-
ReactDOM.render(<Alert text="hello" />, rootContainer)
23+
ReactDOM.render(<Alert text="hello-break-test" />, rootContainer)
2424
})
2525
const text = rootContainer.querySelector('div')
2626
expect(text.textContent).to.equal('hello')

0 commit comments

Comments
 (0)