]> git.ardis.lu - csvio/commitdiff
Use consistent casing
authorArdis Lu <ardisglu@gmail.com>
Wed, 11 Jun 2025 04:22:39 +0000 (21:22 -0700)
committerArdis Lu <ardisglu@gmail.com>
Wed, 11 Jun 2025 04:22:39 +0000 (21:22 -0700)
test/utils.js

index b8fefecb9b1945021b102991624e54d62803963c..45f2531defcb528856ba73a9f44a75d01fee6ee2 100644 (file)
@@ -186,7 +186,7 @@ export async function createTempFile() {
  * - https://web.archive.org/web/20090408063205/http://www.cris.com/~Ttwang/tech/inthash.htm
  * @param {ArrayBufferView<ArrayBufferLike>} typedArray An integer-based `TypedArray` with a byte length that is a multiple of 4.
  * All elements in the array will be overwritten with random numbers.
- * @param {Number} seed A number to initiate the pseudorandom hash function.
+ * @param {number} seed A number to initiate the pseudorandom hash function.
  * @returns {ArrayBufferView<ArrayBufferLike>} The same array passed as `typedArray` but with its contents replaced with pseudorandom
  * numbers. Note that `typedArray` is modified in-place and no copy is made.
  */
@@ -210,9 +210,9 @@ function getPseudoRandomValues(typedArray, seed) {
 /**
  * Create a stream of pseudorandom CSV data for test mocking purposes.
  * 
- * @param {Number} rows The number of rows the CSV stream will return.
- * @param {Number} columns The number of columns in each CSV row.
- * @param {Number} seed The seed used to deterministically generate the pseudorandom values in the CSV stream.
+ * @param {number} rows The number of rows the CSV stream will return.
+ * @param {number} columns The number of columns in each CSV row.
+ * @param {number} seed The seed used to deterministically generate the pseudorandom values in the CSV stream.
  * @returns {ReadableStream} A `ReadableStream` where each row is emitted as a separate chunk.
  */
 export function createRandomCSV(rows, columns, seed) {
This page took 0.042654 seconds and 4 git commands to generate.