• Home
  • Free Trial
  • Sign In
  • Techdegree
  • Tracks
  • Library
  • Community
  • Support
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • 21st Century Skills
      • • Android
      • • APIs
      • • Business
      • • C#
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Equity, Diversity, and Inclusion (EDI)
      • • Go
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • PHP
      • • Python
      • • Quality Assurance
      • • Ruby
      • • Security
  • babyoscar
    babyoscar
    7,386 Points

    Why is npm test throwing error but mocha test works?

    Posted January 13, 2021 1:31am by babyoscar
    babyoscar
    7,386 Points
    • JavaScript
    • JavaScript Unit Testing
    • Behavior Driven Development with Mocha & Chai
    • General Structure of Test Files

    0 Answers

  • Alejandro Molina
    Alejandro Molina
    3,996 Points

    Why do "npm test" and "mocha test" both do the same thing? Is there a difference?

    Posted June 29, 2017 10:08pm by Alejandro Molina
    Alejandro Molina
    3,996 Points
    • JavaScript
    • JavaScript Unit Testing
    • Behavior Driven Development with Mocha & Chai
    • General Structure of Test Files

    3 Answers

  • Geoffrey Neal
    Geoffrey Neal
    30,134 Points

    Advanced file structure for testing

    Posted November 18, 2016 5:07pm by Geoffrey Neal
    Geoffrey Neal
    30,134 Points
    • JavaScript
    • JavaScript Unit Testing
    • Behavior Driven Development with Mocha & Chai
    • General Structure of Test Files

    1 Answer

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

Treehouse Logo
Our mission is to bring affordable technology education to people everywhere in order to help them achieve their dreams and change the world.
Company
Careers
Contact
Library
Tracks
Community
Stories
Perks
Affiliate Program
Treehouse for Libraries
Topics
HTML
CSS
Design
JavaScript
Ruby
View all 24 Topics
Tracks
Front End Web Development
Full Stack JavaScript
Beginning Python
UX: Interaction Design
Digital Literacy
View all 41 Tracks
  • Twitter
  • YouTube
  • FaceBook
  • LinkedIn
  • Instagram
  • About Treehouse
  • Blog
  • Shop
  • Privacy Policy
  • Terms & Conditions
  • © 2021 Treehouse Island, Inc.