Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
fengmk2 committed Aug 17, 2023
1 parent 602e5b0 commit b193901
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/options.files.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,9 @@ describe('options.files.test.ts', () => {
it('should upload a file with args.data success', async () => {
const stat = await fs.stat(__filename);
const largeFormValue = await fs.readFile(__filename, 'utf-8');
const txt = path.join(__dirname, 'fixtures', '😄foo😭.txt');
// emoji not work on windows node.js >= 20
// const txt = path.join(__dirname, 'fixtures', '😄foo😭.txt');
const txt = path.join(__dirname, 'fixtures', 'foo.txt');
const txtValue = await fs.readFile(txt, 'utf-8');
const response = await urllib.request(`${_url}multipart`, {
method: 'HEAD',
Expand Down

0 comments on commit b193901

Please sign in to comment.