chore: replace all cn comments of fe to en version by volc api (#320)
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
|
||||
import { vi } from 'vitest';
|
||||
|
||||
import { basicApi } from '../src/basic-api';
|
||||
@@ -52,7 +52,7 @@ describe('basic-api', () => {
|
||||
headers: { 'Another-Header': 'another-value' },
|
||||
};
|
||||
|
||||
// @ts-expect-error - 我们知道这是一个有效的方法调用
|
||||
// @ts-expect-error - we know this is a valid method call
|
||||
await basicApi.request(mockParams, mockConfig);
|
||||
|
||||
expect(axiosInstance.request).toHaveBeenCalledWith({
|
||||
@@ -76,7 +76,7 @@ describe('basic-api', () => {
|
||||
headers: { 'Custom-Header': 'value' },
|
||||
};
|
||||
|
||||
// @ts-expect-error - 我们知道这是一个有效的方法调用
|
||||
// @ts-expect-error - we know this is a valid method call
|
||||
await basicApi.request(mockParams);
|
||||
|
||||
expect(axiosInstance.request).toHaveBeenCalledWith({
|
||||
@@ -97,7 +97,7 @@ describe('basic-api', () => {
|
||||
method: 'GET',
|
||||
};
|
||||
|
||||
// @ts-expect-error - 我们知道这是一个有效的方法调用
|
||||
// @ts-expect-error - we know this is a valid method call
|
||||
await basicApi.request(mockParams);
|
||||
|
||||
expect(axiosInstance.request).toHaveBeenCalledWith({
|
||||
|
||||
Reference in New Issue
Block a user