First commit

This commit is contained in:
Aravind142857
2023-06-05 20:06:13 -05:00
commit 4e3c08d1c4
672 changed files with 179969 additions and 0 deletions

16
node_modules/saslprep/test/util.js generated vendored Normal file
View File

@@ -0,0 +1,16 @@
'use strict';
const { setFlagsFromString } = require('v8');
const { range } = require('../lib/util');
// 984 by default.
setFlagsFromString('--stack_size=500');
test('should work', () => {
const list = range(1, 3);
expect(list).toEqual([1, 2, 3]);
});
test('should work for large ranges', () => {
expect(() => range(1, 1e6)).not.toThrow();
});