Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

189
Views
Ya no puedo usar d describe o iit

Solía poder usar describe e iit para que jasmine/karma ejecutara solo una prueba específica o un conjunto de pruebas. Sin embargo, ahora ya no funciona y me sale este error: (o uno similar para iit).

 INFO [karma]: Karma v0.12.31 server started at http://localhost:8081/ INFO [launcher]: Starting browser PhantomJS INFO [PhantomJS 1.9.8 (Windows 7)]: Connected on socket jIMgciNEN5VXBdZOhDz2 with id 78471739 PhantomJS 1.9.8 (Windows 7) ERROR ReferenceError: Can't find variable: ddescribe at /.../test.js:146

Estoy ejecutando: karma 0.12.28, jasmine 2.2.0, karma-jasmine: 0.3.5, karma-phantomjs-launcher: 0.1.4

Así es como se ve básicamente el archivo de prueba:

 'use strict'; ddescribe('MyController', function() { it('should do xyz', function() { ... }); });

¿Alguna idea? ¿Hay algún cambio de definición o configuración que se me haya pasado por alto y ahora describe ya no esté definido?

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Ok, finalmente encontré el informe de errores: https://github.com/karma-runner/karma-jasmine/issues/73

Aparentemente, han cambiado de usar ddescribe y iit a usar fdescribe y fit para pruebas 'enfocadas'.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!