Moved test files to correct name
- `yarn test` will look for files matching `*.test.js`, so this commit fixes the name for the tests
This commit is contained in:
parent
14a53f696e
commit
ec0ed397d9
@ -1,5 +1,5 @@
|
||||
const should = require('should');
|
||||
const security = require('../../../../core/server/lib/security');
|
||||
require('./utils');
|
||||
const security = require('../');
|
||||
|
||||
describe('Lib: Security - Password', function () {
|
||||
it('hash plain password', function () {
|
@ -1,5 +1,5 @@
|
||||
const should = require('should');
|
||||
const security = require('../../../../core/server/lib/security');
|
||||
require('./utils');
|
||||
const security = require('../');
|
||||
|
||||
describe('Lib: Security - String', function () {
|
||||
describe('Safe String', function () {
|
@ -1,6 +1,7 @@
|
||||
require('./utils');
|
||||
const should = require('should');
|
||||
const uuid = require('uuid');
|
||||
const security = require('../../../../core/server/lib/security');
|
||||
const security = require('../');
|
||||
|
||||
describe('Utils: tokens', function () {
|
||||
it('generate', function () {
|
||||
@ -87,7 +88,7 @@ describe('Utils: tokens', function () {
|
||||
should.not.exist(parts.dbHash);
|
||||
});
|
||||
|
||||
it('extract', function () {
|
||||
it('extract - hashed password', function () {
|
||||
const expires = Date.now() + 60 * 1000;
|
||||
const dbHash = uuid.v4();
|
||||
let token;
|
Loading…
Reference in New Issue
Block a user