Skip to content

Commit

Permalink
delete all vitest-related code from a project
Browse files Browse the repository at this point in the history
  • Loading branch information
mvedernikov committed Feb 9, 2024
1 parent ce386dc commit 8539527
Show file tree
Hide file tree
Showing 10 changed files with 6 additions and 1,227 deletions.
21 changes: 0 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,24 +25,3 @@ You might need to add this file to `.gitignore` to avoid committing it to the re

This package supports collecting the build time (compilation time) of projects that are using Webpack (4.x or 5.x) or Vite (4.x).
Follow this [instruction](BUILD_TIME.md) to get started.

### Test Data

This package also supports collecting the test data of projects that are using Vitest (0.x).
Follow this [instruction](TEST_DATA.md) to get started.

## How to test

To test that you have set up the plugin correctly and messages are handled by the server, you can run the following query in Superset:

```sql
SELECT *
FROM messaging.vitebuildmessage
WHERE projectName = '%your-project-name%' AND userName = '%your-user-name%'
```

For compilation time, Webpack data goes to `messaging.webpackstatsmessage` and Vite data goes to `messaging.vitebuildmessage`.

For test data, Vitest data goes to `messaging.vitesttestrunmessage`, `messaging.vitesttestfilemessage`, and `messaging.vitesttestcasemessage` for test run, test file, and test case respectively.

\* _remember that there is a delay between the time you run the build and the time the data is available in Hadoop_
59 changes: 0 additions & 59 deletions TEST_DATA.md

This file was deleted.

Binary file removed images/vitest_run_configuration_templates.png
Binary file not shown.
Loading

0 comments on commit 8539527

Please sign in to comment.