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

341
Views
How to run pre-requisites before all suites in Jasmine

I have NodeJS project with jasmine specs . I want to run pre-requisites before running all specs in the suite for creating pre-requisite test data for the complete suite.

For individual spec , it can be done using beforeAll method, but I want to run pre-requisite script once for one complete test run.

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

You can create a "spec/helpers/myhelper.js" file (See spec/support/jasmine.json for the location of your helpers directory) and put your logic in there. It will be run before the specs execute.

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!