Skip to content

Commit f82cbdd

Browse files
committed
chore: update test case after merge from main
1 parent 76a0f1c commit f82cbdd

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

api/src/publish.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1310,13 +1310,13 @@ pub mod tests {
13101310
}
13111311

13121312
#[tokio::test]
1313-
async fn graph_error() {
1313+
async fn cjs_import() {
13141314
let t = TestSetup::new().await;
1315-
let bytes = create_mock_tarball("graph_error");
1315+
let bytes = create_mock_tarball("cjs_import");
13161316
let task = process_tarball_setup(&t, bytes).await;
13171317
assert_eq!(task.status, PublishingTaskStatus::Failure, "{task:#?}");
13181318
let error = task.error.unwrap();
1319-
assert_eq!(error.code, "graphError");
1319+
assert_eq!(error.code, "commonJs");
13201320
}
13211321

13221322
#[tokio::test]

0 commit comments

Comments
 (0)