mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 04:25:55 +01:00
test: add back disabled test since node 18 is minimum
This commit is contained in:
@@ -199,10 +199,9 @@ describe('Utility Methods', () => {
|
|||||||
utils.assertPasswordValidity('Yzsh31j!a', zxcvbn);
|
utils.assertPasswordValidity('Yzsh31j!a', zxcvbn);
|
||||||
});
|
});
|
||||||
|
|
||||||
// it('should generate UUID', () => {
|
it('should generate UUID', () => {
|
||||||
// TODO: add back when nodejs 18 is minimum
|
assert(validator.isUUID(utils.generateUUID()));
|
||||||
// assert(validator.isUUID(utils.generateUUID()));
|
});
|
||||||
// });
|
|
||||||
|
|
||||||
it('should shallow merge two objects', (done) => {
|
it('should shallow merge two objects', (done) => {
|
||||||
const a = { foo: 1, cat1: 'ginger' };
|
const a = { foo: 1, cat1: 'ginger' };
|
||||||
|
|||||||
Reference in New Issue
Block a user