Skip to content

Commit

Permalink
Remove Deprecation from uuidjs/uuid#240 (#88)
Browse files Browse the repository at this point in the history
  • Loading branch information
segayuu authored and yoshinorin committed Jun 4, 2019
1 parent 51721d5 commit 518fe81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/index.js
Expand Up @@ -8,7 +8,7 @@ const request = require('supertest-promised');
const { join } = require('path');
const fs = require('hexo-fs');
const Promise = require('bluebird');
const uuid = require('uuid');
const uuidv4 = require('uuid/v4');
const sinon = require('sinon');

describe('server', () => {
Expand Down Expand Up @@ -55,7 +55,7 @@ describe('server', () => {

return server(options).then(app => {
app.on('connection', conn => {
const id = uuid.v4();
const id = uuidv4();

connections[id] = conn;

Expand Down

0 comments on commit 518fe81

Please sign in to comment.