Skip to content

Commit 8c14b69

Browse files
author
高魏洪
committed
fix: layer publish support code is http url,model remove
1 parent 07192ca commit 8c14b69

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

__tests__/it/integration_test.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -532,8 +532,7 @@ describe('Integration Tests', () => {
532532
// The model download command may fail if there's no modelConfig, but that's expected
533533
// We're just testing that the command can be executed without throwing an unexpected exception
534534
try {
535-
return;
536-
// await myFcInstance.model(modelInputs);
535+
await myFcInstance.model(modelInputs);
537536
} catch (error) {
538537
// It's okay if download fails due to missing modelConfig, we're just testing the command execution
539538
expect(error).toBeDefined();
@@ -549,8 +548,7 @@ describe('Integration Tests', () => {
549548
// The model remove command may fail if there's no model to remove, but that's expected
550549
// We're just testing that the command can be executed without throwing an exception
551550
try {
552-
return;
553-
// await myFcInstance.model(modelInputs);
551+
await myFcInstance.model(modelInputs);
554552
} catch (error) {
555553
// It's okay if remove fails, we're just testing the command execution
556554
expect(error).toBeDefined();

0 commit comments

Comments
 (0)