Skip to content

Cannot spy on function being called in the function tested when both functions are named exports from the same file #14311

Cannot spy on function being called in the function tested when both functions are named exports from the same file

Cannot spy on function being called in the function tested when both functions are named exports from the same file #14311

Workflow file for this run

name: Benchmark
on:
issue_comment:
types:
- created
jobs:
bench:
runs-on: ubuntu-latest
if: ${{ github.event.issue.pull_request && (github.event.comment.body == '/bench' || github.event.comment.body == '/benchmark') }}
steps:
- uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Install node
uses: actions/setup-node@v4
with:
cache: pnpm
- name: Install
working-directory: ./bench
run: pnpm i
- name: Run benchmark
working-directory: ./bench
run: pnpm bench:ci
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}