Lines Matching refs:await

236   const res = await _mockNpm(t, {
263 await t.test('outdated global', async t => {
264 const { outdated, joinedOutput } = await mockNpm(t, {
268 await outdated.exec([])
273 await t.test('outdated', async t => {
274 const { outdated, joinedOutput } = await mockNpm(t, {
280 await outdated.exec([])
285 await t.test('outdated --omit=dev', async t => {
286 const { outdated, joinedOutput } = await mockNpm(t, {
293 await outdated.exec([])
298 await t.test('outdated --omit=dev --omit=peer', async t => {
299 const { outdated, joinedOutput } = await mockNpm(t, {
306 await outdated.exec([])
311 await t.test('outdated --omit=prod', async t => {
312 const { outdated, joinedOutput } = await mockNpm(t, {
319 await outdated.exec([])
324 await t.test('outdated --long', async t => {
325 const { outdated, joinedOutput } = await mockNpm(t, {
331 await outdated.exec([])
336 await t.test('outdated --json', async t => {
337 const { outdated, joinedOutput } = await mockNpm(t, {
343 await outdated.exec([])
348 await t.test('outdated --json --long', async t => {
349 const { outdated, joinedOutput } = await mockNpm(t, {
356 await outdated.exec([])
361 await t.test('outdated --parseable', async t => {
362 const { outdated, joinedOutput } = await mockNpm(t, {
368 await outdated.exec([])
373 await t.test('outdated --parseable --long', async t => {
374 const { outdated, joinedOutput } = await mockNpm(t, {
381 await outdated.exec([])
386 await t.test('outdated --all', async t => {
387 const { outdated, joinedOutput } = await mockNpm(t, {
393 await outdated.exec([])
398 await t.test('outdated specific dep', async t => {
399 const { outdated, joinedOutput } = await mockNpm(t, {
402 await outdated.exec(['cat'])
427 const { outdated, joinedOutput } = await mockNpm(t, {
431 await outdated.exec([])
454 const { outdated } = await mockNpm(t, {
458 await t.rejects(outdated.exec([]), 'There is an error with this package.')
473 const { outdated, joinedOutput } = await mockNpm(t, {
477 await outdated.exec([])
501 const { outdated, joinedOutput } = await mockNpm(t, {
504 await outdated.exec([])
527 const { outdated, joinedOutput } = await mockNpm(t, {
530 await outdated.exec([])
536 const { outdated, joinedOutput } = await mockNpm(t, {
541 await outdated.exec([])
547 await t.test('should display ws outdated deps human output', t =>
553 await t.test('should display only root outdated when ws disabled', t =>
556 await t.test('should display ws outdated deps json output', t =>
559 await t.test('should display ws outdated deps parseable output', t =>
562 await t.test('should display all dependencies', t =>
565 await t.test('should highlight ws in dependend by section', t =>
568 await t.test('should display results filtered by ws', t =>
571 await t.test('should display json results filtered by ws', t =>
574 await t.test('should display parseable results filtered by ws', t =>
577 await t.test('should display nested deps when filtering by ws and using --all', t =>
580 await t.test('should display no results if ws has no deps to display', t =>
583 await t.test('should display missing deps when filtering by ws', t =>
606 const { outdated, joinedOutput } = await mockNpm(t, {
609 await outdated.exec([])