Skip to content

Latest commit

 

History

History

e2e

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

@rsdoctor/e2e

This folder contains the e2e test cases of Rsdoctor.

Tech Stack

Commands

# Run all test cases, including Rspack and Webpack
pnpm run test

Add Test Cases

Add test cases for common capabilities

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);
});