working tests

This commit is contained in:
Rob Larsen
2022-08-05 01:20:08 +00:00
parent a523fb6c2e
commit 62e7373888
2 changed files with 6 additions and 6 deletions

View File

@@ -1,9 +1,9 @@
import assert from 'assert';
import fs from 'fs';
import path from 'path';
import pkg from '../package.json';
import { createRequire } from 'module';
const require = createRequire(import.meta.url);
const pkg = require('../package.json');
const dirs = pkg['h5bp-configs'].directories;
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

View File

@@ -2,9 +2,9 @@ import assert from 'assert';
import fs from 'fs';
import path from 'path';
import glob from 'glob';
import pkg from '../package.json';
import { createRequire } from 'module';
const require = createRequire(import.meta.url);
const pkg = require('../package.json');
const dirs = pkg['h5bp-configs'].directories;
const expectedFilesInArchiveDir = [