Skip to content

Commit 74ab710

Browse files
committed
chore: rename default branch to main
1 parent 3cfd279 commit 74ab710

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ script: npm run test:coverage && codecov
1414
jobs:
1515
include:
1616
- stage: release
17-
if: branch = master AND type != pull_request
17+
if: branch = main AND type != pull_request
1818
node_js: '12'
1919
script: npm run semantic-release

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
height="80"
77
width="80"
88
alt="eagle"
9-
src="https://raw.githubusercontent.com/testing-library/jest-native/master/other/eagle.png"
9+
src="https://raw.githubusercontent.com/testing-library/jest-native/main/other/eagle.png"
1010
/>
1111
</a>
1212

@@ -15,15 +15,15 @@
1515

1616
<hr />
1717

18-
[![Build Status](https://travis-ci.org/testing-library/jest-native.svg?branch=master)](https://travis-ci.org/testing-library/jest-native)
18+
[![Build Status](https://travis-ci.org/testing-library/jest-native.svg?branch=main)](https://travis-ci.org/testing-library/jest-native)
1919
[![Code Coverage](https://img.shields.io/codecov/c/github/testing-library/jest-native.svg?style=flat-square)](https://codecov.io/github/testing-library/jest-native)
2020
[![version](https://img.shields.io/npm/v/@testing-library/jest-native.svg?style=flat-square)](https://www.npmjs.com/package/@testing-library/jest-native)
2121
[![downloads](https://img.shields.io/npm/dm/@testing-library/jest-native.svg?style=flat-square)](http://www.npmtrends.com/@testing-library/jest-native)
22-
[![MIT License](https://img.shields.io/npm/l/@testing-library/jest-native.svg?style=flat-square)](https://github.com/testing-library/jest-native/blob/master/LICENSE)
22+
[![MIT License](https://img.shields.io/npm/l/@testing-library/jest-native.svg?style=flat-square)](https://github.com/testing-library/jest-native/blob/main/LICENSE)
2323

2424
[![All Contributors](https://img.shields.io/badge/all_contributors-5-orange.svg?style=flat-square)](#contributors)
2525
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)
26-
[![Code of Conduct](https://img.shields.io/badge/code%20of-conduct-ff69b4.svg?style=flat-square)](https://github.com/testing-library/jest-native/blob/master/CODE_OF_CONDUCT.md)
26+
[![Code of Conduct](https://img.shields.io/badge/code%20of-conduct-ff69b4.svg?style=flat-square)](https://github.com/testing-library/jest-native/blob/main/CODE_OF_CONDUCT.md)
2727
[![Discord](https://img.shields.io/discord/723559267868737556.svg?color=7389D8&labelColor=6A7EC2&logo=discord&logoColor=ffffff&style=flat-square)](https://discord.gg/testing-library)
2828

2929
[![Watch on GitHub](https://img.shields.io/github/watchers/testing-library/jest-native.svg?style=social)](https://github.com/testing-library/jest-native/watchers)
@@ -127,7 +127,7 @@ React Native [0.62](https://reactnative.dev/blog/2020/03/26/version-0.62#breakin
127127
```javascript
128128
const { getByTestId } = render(
129129
<View>
130-
<Button disabled testID="button" title="submit" onPress={(e) => e} />
130+
<Button disabled testID="button" title="submit" onPress={e => e} />
131131
<TextInput accessibilityState={{ disabled: true }} testID="input" value="text" />
132132
</View>,
133133
);
@@ -151,7 +151,7 @@ Works similarly to `expect().not.toBeDisabled()`.
151151
```javascript
152152
const { getByTestId } = render(
153153
<View>
154-
<Button testID="button" title="submit" onPress={(e) => e} />
154+
<Button testID="button" title="submit" onPress={e => e} />
155155
<TextInput testID="input" value="text" />
156156
</View>,
157157
);

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
"proseWrap": "always"
6666
},
6767
"release": {
68-
"branch": "master",
68+
"branch": "main",
6969
"plugins": [
7070
"@semantic-release/commit-analyzer",
7171
"@semantic-release/release-notes-generator",

0 commit comments

Comments
 (0)