Skip to content

Commit 18763cb

Browse files
committed
fix remote test runs in github actions
1 parent ea189d2 commit 18763cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/providers/providers.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { jest, describe, expect, test, beforeEach } from '@jest/globals';
33
import OpenAIEmbeddingProvider from '../../src/providers/OpenAIEmbeddingProvider.js';
44

55
// Mock axios
6-
jest.mock('axios', () => ({
6+
await jest.unstable_mockModule('axios', () => ({
77
default: {
88
create: jest.fn(() => ({
99
post: jest.fn().mockResolvedValue({

0 commit comments

Comments
 (0)