]> git.ardis.lu - csvio/commitdiff
Update prefix to match new project name
authorArdis Lu <ardisglu@gmail.com>
Sat, 8 Feb 2025 09:31:46 +0000 (01:31 -0800)
committerArdis Lu <ardisglu@gmail.com>
Sat, 8 Feb 2025 09:31:46 +0000 (01:31 -0800)
test/utils.js

index 9a5f6ac98489184083bc7dbc06529662042a397e..847391676862d531d7cf69eb4ffa228c8110d9b3 100644 (file)
@@ -135,7 +135,7 @@ export function createCSVMockStream(data) {
  * @returns {Promise<string>} A `Promise<string>` for the full path to a newly-created temporary folder.
  */
 export async function createTempFolder() {
-  const path = normalize(`${tmpdir()}/scsv_test_`);
+  const path = normalize(`${tmpdir()}/csvio_test_`);
   return mkdtemp(path);
 }
 
@@ -145,7 +145,7 @@ export async function createTempFolder() {
  * @returns {Promise<string>} A `Promise<string>` for the full path to a newly-created temporary file.
  */
 export async function createTempFile() {
-  const path = normalize(`${tmpdir()}/scsv_test_${crypto.randomUUID()}.tmp`);
+  const path = normalize(`${tmpdir()}/csvio_test_${crypto.randomUUID()}.tmp`);
   await open(path, 'a+');
   return path;
 }
This page took 0.042273 seconds and 4 git commands to generate.