Skip to content

Commit

Permalink
use native URL in tests if possible
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford committed Jun 4, 2018
1 parent 2a634c7 commit 4160d25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/function/samples/import-meta-url-compact/_config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const assert = require('assert');
const path = require('path');
const URL = require('url-parse');
URL = typeof URL !== 'undefined' ? URL : require('url-parse');

module.exports = {
description: 'import.meta.url support',
Expand Down

0 comments on commit 4160d25

Please sign in to comment.