Skip to content

[Bug]: rstest watch exception exit without output error message #396

@9aoy

Description

@9aoy

Version

rstest 0.0.8

Details

Expected to output an error log when rstest watch exception exit, but no.
Image

Reproduce link

https://github.com/web-infra-dev/rstest/blob/main/examples/node

Reproduce Steps

  • update rstest.config.ts
  • npx rstest or npx rstest watch
import { defineConfig } from '@rstest/core';

export default defineConfig({
  plugins: [
    {
      name: 'test',
      setup: (_api) => {
        throw new Error('setup error');
      },
    },
  ],
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions