Skip to content

Commit

Permalink
fix: avoid nodejs console.timeEnd warning
Browse files Browse the repository at this point in the history
  • Loading branch information
hugomrdias committed Nov 13, 2023
1 parent a6d78c7 commit 6cf6f6e
Show file tree
Hide file tree
Showing 6 changed files with 564 additions and 523 deletions.
11 changes: 11 additions & 0 deletions mocks/console-time.mocha.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/* eslint-disable no-undef */
// eslint-disable-next-line strict
const { is, ok, equal } = require('uvu/assert')
const debug = require('debug')('app')
const { good, bad } = require('./lib')
const Client = require('../src/client')

it.only('time/timeEnd', () => {
console.time('test')
console.timeEnd('test')
})
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,13 +79,13 @@
"c8": "^8.0.1",
"camelcase": "^8.0.0",
"chokidar": "^3.5.3",
"cpy": "^10.1.0",
"cpy": "^11.0.0",
"esbuild": "0.19.5",
"esbuild-plugin-wasm": "^1.1.0",
"events": "^3.3.0",
"execa": "^8.0.1",
"exit-hook": "^4.0.0",
"globby": "^13.2.2",
"globby": "^14.0.0",
"kleur": "^4.1.5",
"lilconfig": "^2.1.0",
"lodash": "^4.17.21",
Expand Down
Loading

0 comments on commit 6cf6f6e

Please sign in to comment.