Skip to content

Commit

Permalink
chore: re-enable old node test
Browse files Browse the repository at this point in the history
  • Loading branch information
yunnysunny committed Jun 5, 2022
1 parent aa60766 commit 18896ec
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/node/utils.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
'use strict';
const assert = require('assert');
const utils = require('../../lib/utils');
const utils =
process.env.OLD_NODE_TEST === '1'
// eslint-disable-next-line node/no-missing-require
? require('../../../utils')
: require('../../lib/utils');

describe('utils.type(str)', () => {
it('should return the mime type', () => {
Expand Down

0 comments on commit 18896ec

Please sign in to comment.