Lines Matching refs:async
267 const loadMockNpm = async function (t, opts = {}) {
284 t.test('package from git', async t => {
290 t.test('deprecated package with license, bugs, repository and other fields', async t => {
296 t.test('deprecated package with unicode', async t => {
302 t.test('package with more than 25 deps', async t => {
308 t.test('package with maintainers info as object', async t => {
314 t.test('package with homepage', async t => {
320 t.test('package with invalid version', async t => {
326 t.test('package with no versions', async t => {
332 t.test('package with no repo or homepage', async t => {
338 t.test('package with semver range', async t => {
344 t.test('package with no modified time', async t => {
350 t.test('package with --json and semver range', async t => {
356 t.test('package with --json and no versions', async t => {
362 t.test('package in cwd', async t => {
370 t.test('specific version', async t => {
376 t.test('non-specific version', async t => {
382 t.test('directory', async t => {
389 t.test('specific field names', async t => {
393 t.test('readme', async t => {
398 t.test('several fields', async t => {
403 t.test('several fields with several versions', async t => {
408 t.test('nested field with brackets', async t => {
413 t.test('maintainers with email', async t => {
418 t.test('maintainers with url', async t => {
423 t.test('unknown nested field ', async t => {
428 t.test('array field - 1 element', async t => {
433 t.test('array field - 2 elements', async t => {
438 t.test('fields with empty values', async t => {
444 t.test('throw error if global mode', async t => {
452 t.test('throw ENOENT error if package.json missing', async t => {
460 t.test('throw error if package.json has no name', async t => {
472 t.test('throws when unpublished', async t => {
480 t.test('throws when version not matched', async t => {
488 t.test('workspaces', async t => {
509 t.test('all workspaces', async t => {
518 t.test('one specific workspace', async t => {
527 t.test('all workspaces --json', async t => {
536 t.test('all workspaces single field', async t => {
545 t.test('all workspaces nonexistent field', async t => {
554 t.test('all workspaces nonexistent field --json', async t => {
563 t.test('all workspaces single field --json', async t => {
572 t.test('single workspace --json', async t => {
581 t.test('remote package name', async t => {
592 t.test('completion', async t => {
600 t.test('no package completion', async t => {