This folder contains the e2e test cases of Rsdoctor.
- playwright: The e2e test framework.
# Run all test cases, including Rspack and Webpack
pnpm run test
Test cases added using the test
method will run in webpack and Rspack.
import { expect, test } from '@playwright/test';
// will passed in webpack, and rspack
test('test 1 + 1', () => {
expect(1 + 1).toBe(2);
});