Skip to content

Conversation

@9aoy
Copy link
Contributor

@9aoy 9aoy commented Jul 10, 2025

Summary

support using package name as setupFiles value.

import { defineConfig } from '@rstest/core';

export default defineConfig({
  setupFiles: ['jsdom-global/register', 'rstest-canvas-mock'],
});

Related Links

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

@netlify
Copy link

netlify bot commented Jul 10, 2025

Deploy Preview for rstest-dev ready!

Name Link
🔨 Latest commit 9dcf660
🔍 Latest deploy log https://app.netlify.com/projects/rstest-dev/deploys/686f6f372e0fee00080a64f1
😎 Deploy Preview https://deploy-preview-377--rstest-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@9aoy 9aoy changed the title feat: support use package name as setupFiles value feat: support use package name as setupFiles value Jul 10, 2025
@9aoy 9aoy changed the title feat: support use package name as setupFiles value feat: support using package name as setupFiles value Jul 10, 2025
@9aoy 9aoy requested a review from fi3ework July 10, 2025 07:47
@9aoy 9aoy merged commit 0730064 into main Jul 10, 2025
18 checks passed
@9aoy 9aoy deleted the setup-file-pkg-name branch July 10, 2025 08:48
@9aoy 9aoy mentioned this pull request Jul 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants