Skip to content

Commit

Permalink
test(nestjs-tools-file-storage): ensure auto generated content is a s…
Browse files Browse the repository at this point in the history
…tring
  • Loading branch information
getlarge committed Aug 1, 2024
1 parent 3adb136 commit 2781b29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/file-storage/test/file-storage.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ testMap.forEach((testSuite) => {
describe(description, () => {
let fileStorage: FileStorage;

const createDummyFile = async (filePath: string = randomUUID(), content = randomBytes(1024)) => {
const createDummyFile = async (filePath: string = randomUUID(), content = 'this is a test content') => {
await fileStorage?.uploadFile({ filePath, content });
await setTimeoutPromise(100);
return { filePath, content };
Expand Down

0 comments on commit 2781b29

Please sign in to comment.