Skip to content

Commit

Permalink
fix typescript test
Browse files Browse the repository at this point in the history
  • Loading branch information
nicarq committed Aug 9, 2024
1 parent 1f72fc7 commit 7afbe9a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apps/shinkai-tool-duckduckgo-search/src/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
import { TextEncoder as NodeTextEncoder, TextDecoder as NodeTextDecoder } from 'util';
global.TextEncoder = NodeTextEncoder as any;
global.TextDecoder = NodeTextDecoder as any;

import { Tool } from '../src/index';
global.fetch = require('node-fetch');

Expand Down

0 comments on commit 7afbe9a

Please sign in to comment.