11cb0ef41Sopenharmony_ci// Flags: --conditions=custom-condition -C another
21cb0ef41Sopenharmony_ciimport { mustCall } from '../common/index.mjs';
31cb0ef41Sopenharmony_ciimport { strictEqual } from 'assert';
41cb0ef41Sopenharmony_ciimport { requireFixture, importFixture } from '../fixtures/pkgexports.mjs';
51cb0ef41Sopenharmony_ci[requireFixture, importFixture].forEach((loadFixture) => {
61cb0ef41Sopenharmony_ci  loadFixture('pkgexports/condition')
71cb0ef41Sopenharmony_ci    .then(mustCall((actual) => {
81cb0ef41Sopenharmony_ci      strictEqual(actual.default, 'from custom condition');
91cb0ef41Sopenharmony_ci    }));
101cb0ef41Sopenharmony_ci});
11