Tests don't run

Abierto
#1,513 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
25/100
Tipo de issue
Error
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
node.js, typescript

Línea de trabajo

Start with the CONTRIBUTING guide and the npm scripts used by npm run build, npm run test, and npm run test:cjs; compare their behavior with npx mocha. Reproduce the reported no-output behavior on Node.js 18.12.0, then verify that the existing test suite runs and reports the deliberately failing expect.fail("Hi") case.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Bug Report

Prerequisites

  • Can you reproduce the problem?
  • Are you running the latest version?
  • Are you reporting to the correct repository?
  • Did you perform a cursory search?

For more information, see the CONTRIBUTING guide.

Description

I'm trying to contribute but I can't get the tests to run.

Console Errors:

npm run test:

image

Steps to Reproduce

  1. Clone this repo
  2. npm install && npm run build
  3. npm run test

Expected behavior: Tests run, failures are reported

Actual behavior: tests never run

NOTE: I tried npm run test:cjs and npx mocha with the same results

Additional Context

I'm creating failures to make sure the tests SHOULD have some output (the failure should be reported, at the least) and nothing:

describe("RetryHandlerOptions.ts", () => {
	describe("Constructor", () => {
		it("just fails", () => {
			expect.fail("Hi");
		});

I'm on nodejs@18.12.0 and npm@8.19.2

Usage Information

n/a

Lenguaje dominante
TypeScript
Estrellas
833
Forks
240
Métricas de merge de PR
Sin PR fusionados en 30 d

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de microsoftgraph/msgraph-sdk-javascript

Todos los issues de microsoftgraph/msgraph-sdk-javascript

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.