Skip to content

Commit

Permalink
chore: debug test
Browse files Browse the repository at this point in the history
  • Loading branch information
broofa committed Sep 13, 2023
1 parent ef38fd5 commit 65de1fc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/mime_cli.ts
Expand Up @@ -8,6 +8,9 @@ import mime from './index.js';
const __dirname = path.dirname(fileURLToPath(import.meta.url));
const ROOT_DIR = __dirname.replace(/\/mime\/.*/, '/mime');

console.log('CWD', process.cwd());
console.log('ROOT_DIR', ROOT_DIR);

export default async function () {
process.title = 'mime';

Expand Down
2 changes: 2 additions & 0 deletions test/mime.test.js
Expand Up @@ -6,6 +6,8 @@ import Mime from '../dist/src/Mime.js';
import mime from '../dist/src/index.js';
import { testGetExtension, testGetType } from './test_util.js';

console.log('CWD', process.cwd());

describe('class Mime', (t) => {
it('mime and mime/lite coexist', async function () {
await assert.doesNotReject(() => import('../dist/src/index_lite.js'));
Expand Down

0 comments on commit 65de1fc

Please sign in to comment.