| use serde::{Deserialize, Serialize}; | |
| // Defines common structures returned by jest/jest-circus. Shared across turbo | |
| // and next.js repos. | |
| /// The serialized form of the JS object returned from jest.run() | |
| /// describing results. | |
| pub struct JestRunResult { | |
| pub test_results: Vec<JestTestResult>, | |
| } | |
| pub struct JestTestResult { | |
| pub test_path: Vec<String>, | |
| pub errors: Vec<String>, | |
| } | |