diff options
author | Timmy Willison <timmywil@users.noreply.github.com> | 2025-01-14 05:15:49 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-14 11:15:49 +0100 |
commit | b6857536606d5d0dd1b07ada519f845cdac5c96e (patch) | |
tree | c12edf53f44ae773bb3b95d8e727da888e2188e9 /tests/runner/lib/generateHash.js | |
parent | 44b0b0af50999a86c30fb9a48214bf5a333527af (diff) | |
download | jquery-ui-b6857536606d5d0dd1b07ada519f845cdac5c96e.tar.gz jquery-ui-b6857536606d5d0dd1b07ada519f845cdac5c96e.zip |
Tests: Migrate test runner to jquery-test-runner
Closes gh-2325
Diffstat (limited to 'tests/runner/lib/generateHash.js')
-rw-r--r-- | tests/runner/lib/generateHash.js | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/runner/lib/generateHash.js b/tests/runner/lib/generateHash.js deleted file mode 100644 index 66f2161d5..000000000 --- a/tests/runner/lib/generateHash.js +++ /dev/null @@ -1,10 +0,0 @@ -import crypto from "node:crypto"; - -export function generateHash( string ) { - const hash = crypto.createHash( "md5" ); - hash.update( string ); - - // QUnit hashes are 8 characters long - // We use 10 characters to be more visually distinct - return hash.digest( "hex" ).slice( 0, 10 ); -} |