1
mirror of https://github.com/jakejarvis/hugo-extended.git synced 2025-10-16 09:54:28 -04:00

Switch to ESM

This commit is contained in:
XhmikosR
2021-12-07 10:34:35 +02:00
parent e524abe8fa
commit e4b83248a0
8 changed files with 131 additions and 209 deletions

View File

@@ -1,9 +1,7 @@
'use strict';
const assert = require('assert').strict;
const binCheck = require('bin-check');
const hugoBin = require('..');
const { test } = require('uvu');
import { strict as assert } from 'node:assert';
import binCheck from 'bin-check';
import { test } from 'uvu';
import hugoBin from '../index.js';
test('should return path to binary and work', () => {
return binCheck(hugoBin, ['version']).then(works => {