From 3d0a1a5c2f0b65c0707e531f436869e5bd47626f Mon Sep 17 00:00:00 2001 From: csg01123119 Date: Tue, 13 Aug 2024 10:10:31 +0800 Subject: [PATCH] fix: fix issue with get(name, null, options) call not meeting expectations --- test/browser/browser.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/browser/browser.test.js b/test/browser/browser.test.js index 79d26aa7..8a2c3566 100644 --- a/test/browser/browser.test.js +++ b/test/browser/browser.test.js @@ -642,7 +642,7 @@ describe('browser', () => { }); }); - describe.only('get()', () => { + describe('get()', () => { const name = `${prefix}ali-sdk/get/${Date.now()}-oss.jpg`; let store; before(async () => { @@ -681,7 +681,7 @@ describe('browser', () => { } }); assert.equal(result.res.headers['content-length'], '4'); - result = await store.get(name, false, { + result = await store.get(name, true, { headers: { Range: 'bytes=0-3' }