How to mock Dio.interceptors.add when write unit test? #1492
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish from comments | |
on: | |
issue_comment: | |
types: [created] | |
jobs: | |
publish: | |
# https://github.com/cfug/dio/issues/1633 | |
if: github.event.issue.number == 1633 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
token: ${{ secrets.CFUG_PUBLISHER }} | |
- uses: dart-lang/[email protected] | |
- uses: cfug/dio_issue_release_action@v2 | |
with: | |
github-token: ${{ secrets.CFUG_PUBLISHER }} | |
pub-credentials-json: ${{ secrets.CREDENTIAL_JSON }} |