Skip to content

Commit

Permalink
tests: use more random name for sql test file (#986)
Browse files Browse the repository at this point in the history
  • Loading branch information
connorjclark authored Dec 14, 2023
1 parent de1614e commit 72b79d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/test/test-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const MOCK_LHR = JSON.stringify({
});

function getSqlFilePath() {
return `cli-test-${Math.round(Math.random() * 1e9)}.tmp.sql`;
return `cli-test-${Date.now()}-${Math.round(Math.random() * 1e9)}.tmp.sql`;
}

/** @param {import('child_process').ChildProcess & {stdoutMemory: string}} wizardProcess @param {string[]} inputs */
Expand Down

0 comments on commit 72b79d8

Please sign in to comment.