Skip to content

Commit

Permalink
feat(ts): update mock
Browse files Browse the repository at this point in the history
  • Loading branch information
jhen0409 committed Jul 29, 2024
1 parent d5d82c5 commit 7927e5b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions jest/mock.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ if (!NativeModules.RNLlama) {
}),
),

// TODO: Use jinja parser
getFormattedChat: jest.fn(() => ''),

completion: jest.fn(async (contextId, jobId) => {
const testResult = {
text: '*giggles*',
Expand Down

0 comments on commit 7927e5b

Please sign in to comment.