Skip to content

Commit d24fb86

Browse files
authored
Merge pull request #7 from elPytel:dev
opravené importy v testech
2 parents 2a4689a + 6ac16dc commit d24fb86

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/cybersec.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { describe, it, expect, vi } from 'vitest';
22
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';
3+
import { log2, classifyStrength, bigPow, formatBigInt, secondsToHuman, computeRateAndHashTime, getWordlistEntry, randHex, randEmail, randDate, makeSalt, digestText, loadWordlistFromPath, loadCommonNames, loadCommonSurnames } from '../src/js/tools/cybersec.js';
44

55
// polyfill / test stub for Web Crypto API in Node environment
66
// vitest runs in Node where global crypto might be missing; use node:crypto underneath.

0 commit comments

Comments
 (0)