We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8bff732 commit 2868369Copy full SHA for 2868369
packages/sandbox-container/tests/handlers/file-handler.test.ts
@@ -96,7 +96,7 @@ describe('FileHandler', () => {
96
});
97
98
99
- it('should use default encoding when not specified', async () => {
+ it('should pass undefined encoding when not specified', async () => {
100
const readFileData = {
101
path: '/tmp/test.txt'
102
// encoding not specified
@@ -123,7 +123,7 @@ describe('FileHandler', () => {
123
expect(responseData.timestamp).toBeDefined();
124
125
expect(mockFileService.readFile).toHaveBeenCalledWith('/tmp/test.txt', {
126
- encoding: 'utf-8'
+ encoding: undefined
127
128
129
0 commit comments