This repository has been archived by the owner on Apr 28, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Jacob Humston's School Account
committed
Sep 20, 2023
1 parent
9d0f15b
commit a00a55f
Showing
4 changed files
with
41 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
# Testing Directories | ||
example/ | ||
test/ | ||
test/ | ||
node_modules/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
const fs = require('fs'); | ||
const { v4: uuid } = require('uuid'); | ||
|
||
fs.mkdirSync('test/'); | ||
for (i = 0; i < 10000; i++) { | ||
fs.writeFileSync(`${uuid()}.txt`, `${new Date().toString()}`); | ||
console.log(`./test/${i}/10000`); | ||
} | ||
console.log('done'); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
{ | ||
"scripts": { | ||
"start": "php -S localhost:8000" | ||
"start": "php -S localhost:8000", | ||
"gen-test": "node generate-test-files.cjs" | ||
}, | ||
"devDependencies": { | ||
"uuid": "^9.0.1" | ||
} | ||
} |