We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2a4689a + 6ac16dc commit d24fb86Copy full SHA for d24fb86
1 file changed
tests/cybersec.test.js
@@ -1,6 +1,6 @@
1
import { describe, it, expect, vi } from 'vitest';
2
import nodeCrypto from 'node:crypto';
3
-import { log2, classifyStrength, bigPow, formatBigInt, secondsToHuman, computeRateAndHashTime, getWordlistEntry, randHex, randEmail, randDate, makeSalt, digestText, loadWordlistFromPath, loadCommonNames, loadCommonSurnames } from '../src/js/cybersec.js';
+import { log2, classifyStrength, bigPow, formatBigInt, secondsToHuman, computeRateAndHashTime, getWordlistEntry, randHex, randEmail, randDate, makeSalt, digestText, loadWordlistFromPath, loadCommonNames, loadCommonSurnames } from '../src/js/tools/cybersec.js';
4
5
// polyfill / test stub for Web Crypto API in Node environment
6
// vitest runs in Node where global crypto might be missing; use node:crypto underneath.
0 commit comments