Skip to content

Commit

Permalink
chore: update test case after merge from main
Browse files Browse the repository at this point in the history
  • Loading branch information
mbhrznr committed Nov 17, 2024
1 parent 76a0f1c commit f82cbdd
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions api/src/publish.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1310,13 +1310,13 @@ pub mod tests {
}

#[tokio::test]
async fn graph_error() {
async fn cjs_import() {
let t = TestSetup::new().await;
let bytes = create_mock_tarball("graph_error");
let bytes = create_mock_tarball("cjs_import");
let task = process_tarball_setup(&t, bytes).await;
assert_eq!(task.status, PublishingTaskStatus::Failure, "{task:#?}");
let error = task.error.unwrap();
assert_eq!(error.code, "graphError");
assert_eq!(error.code, "commonJs");
}

#[tokio::test]
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit f82cbdd

Please sign in to comment.