From ebebc33ae0598fab91f4e95dc26132570a3eb2ce Mon Sep 17 00:00:00 2001 From: amitmiran137 Date: Wed, 5 May 2021 10:32:34 +0300 Subject: [PATCH] chore: rename proj. from master to main --- .github/workflows/validate.yml | 6 +++--- README.md | 18 +++++++++--------- src/fire-event.js | 2 +- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 2c78a12f..8c6e2263 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -4,7 +4,7 @@ on: branches: [ '+([0-9])?(.{+([0-9]),x}).x', - 'master', + 'main', 'next', 'next-major', 'beta', @@ -44,7 +44,7 @@ jobs: runs-on: ubuntu-latest if: ${{ github.repository == 'testing-library/vue-testing-library' && - contains('refs/heads/master,refs/heads/beta,refs/heads/next,refs/heads/alpha', + contains('refs/heads/main,refs/heads/beta,refs/heads/next,refs/heads/alpha', github.ref) && github.event_name == 'push' }} steps: - name: ⬇️ Checkout repo @@ -70,7 +70,7 @@ jobs: branches: | [ '+([0-9])?(.{+([0-9]),x}).x', - 'master', + 'main', 'next', 'next-major', {name: 'beta', prerelease: true}, diff --git a/README.md b/README.md index 6ced410f..82c8f1fe 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ height="80" width="80" alt="lizard" - src="https://raw.githubusercontent.com/testing-library/vue-testing-library/master/lizard.png" + src="https://raw.githubusercontent.com/testing-library/vue-testing-library/main/lizard.png" /> @@ -245,7 +245,7 @@ instead of filing an issue on GitHub. [npm-badge]: https://badge.fury.io/js/%40testing-library%2Fvue.svg [npm]: https://badge.fury.io/js/%40testing-library%2Fvue [license-badge]: https://img.shields.io/github/license/testing-library/vue-testing-library.svg -[license]: https://github.com/testing-library/vue-testing-library/blob/master/LICENSE +[license]: https://github.com/testing-library/vue-testing-library/blob/main/LICENSE [discord]: https://discord.gg/testing-library [discord-badge]: https://img.shields.io/discord/723559267868737556.svg?label=&logo=discord&logoColor=ffffff&color=7389D8&labelColor=6A7EC2&style=flat-square [jest-dom]: https://github.com/testing-library/jest-dom @@ -261,11 +261,11 @@ instead of filing an issue on GitHub. [add-issue-bug]: https://github.com/testing-library/vue-testing-library/issues/new?assignees=&labels=bug&template=bug_report.md&title= [add-issue]: (https://github.com/testing-library/vue-testing-library/issues/new) -[types-directory]: https://github.com/testing-library/vue-testing-library/blob/master/types -[test-directory]: https://github.com/testing-library/vue-testing-library/blob/master/src/__tests__ -[vuex-example]: https://github.com/testing-library/vue-testing-library/blob/master/src/__tests__/vuex.js -[vue-router-example]: https://github.com/testing-library/vue-testing-library/blob/master/src/__tests__/vue-router.js -[vee-validate-example]: https://github.com/testing-library/vue-testing-library/blob/master/src/__tests__/validate-plugin.js -[vue-i18n-example]: https://github.com/testing-library/vue-testing-library/blob/master/src/__tests__/vue-i18n.js -[vuetify-example]: https://github.com/testing-library/vue-testing-library/blob/master/src/__tests__/vuetify.js +[types-directory]: https://github.com/testing-library/vue-testing-library/blob/main/types +[test-directory]: https://github.com/testing-library/vue-testing-library/blob/main/src/__tests__ +[vuex-example]: https://github.com/testing-library/vue-testing-library/blob/main/src/__tests__/vuex.js +[vue-router-example]: https://github.com/testing-library/vue-testing-library/blob/main/src/__tests__/vue-router.js +[vee-validate-example]: https://github.com/testing-library/vue-testing-library/blob/main/src/__tests__/validate-plugin.js +[vue-i18n-example]: https://github.com/testing-library/vue-testing-library/blob/main/src/__tests__/vue-i18n.js +[vuetify-example]: https://github.com/testing-library/vue-testing-library/blob/main/src/__tests__/vuetify.js diff --git a/src/fire-event.js b/src/fire-event.js index 6a87d7ac..57c73fb1 100644 --- a/src/fire-event.js +++ b/src/fire-event.js @@ -28,7 +28,7 @@ fireEvent.touch = async elem => { // fireEvent.update is a small utility to provide a better experience when // working with v-model. // Related upstream issue: https://github.com/vuejs/vue-test-utils/issues/345#issuecomment-380588199 -// Examples: https://github.com/testing-library/vue-testing-library/blob/master/src/__tests__/form.js +// Examples: https://github.com/testing-library/vue-testing-library/blob/main/src/__tests__/form.js fireEvent.update = (elem, value) => { const tagName = elem.tagName const type = elem.type