GithubHelp home page GithubHelp logo

Comments (4)

techsavvyash avatar techsavvyash commented on September 3, 2024

Please share reproduction steps or minimum reproduction repository, can't reproduce on my system and getting normal behaviour on the base repo.
Maybe some setup or env issue on your system, would love to have feedback around this so that we can highlight the steps in the docs for others.

from stylusdb-sql-base.

arshpreet8051 avatar arshpreet8051 commented on September 3, 2024

Please share reproduction steps or minimum reproduction repository, can't reproduce on my system and getting normal behaviour on the base repo. Maybe some setup or env issue on your system, would love to have feedback around this so that we can highlight the steps in the docs for others.

Dear @techsavvyash ,

Thank you for your prompt response. I appreciate your attention to this matter. While I understand that the issue I encountered might not be replicable on your system, I'm confident that the changes I proposed will ensure compatibility across different environments.

The change I made in the code

(--testPathPattern=./tests/step-01)

to

(--testPathPattern=./tests/step-01/index)

resolved the issue on my system. By specifying the path more explicitly, I've ensured that the Jest tests will run consistently in every environment, regardless of individual configurations.

I'm more than willing to collaborate with you to find a solution that works for both of us. If there's any additional information or assistance I can provide, please don't hesitate to let me know.

Additionally, I believe it would be beneficial to update the project documentation with information about potential setup or environment issues. This could include a troubleshooting section or clarifications regarding the Jest configuration to help other users who might encounter similar problems in the future.

Thank you for your understanding and cooperation. I look forward to working together to resolve this issue.

Best regards,
@arshpreet8051


To provide more clarity on the problem, I've outlined the steps to reproduce the issue on my system below:

To reproduce

  • Locate the directory
cd stylusdb-sql-base
  • Install Dependencies
npm i 
npm install jest --save-dev
  • Configure Jest
"scripts": {
  "test": "jest"
}
  • Run the command
npm run test:1

Expected Outcome

The result for test (pass or fail) should be the output instead of error message

Screenshot

image

from stylusdb-sql-base.

techsavvyash avatar techsavvyash commented on September 3, 2024

why are we installing and configuring jest separately, I think we already get it setup out of the box.

from stylusdb-sql-base.

sonustar avatar sonustar commented on September 3, 2024

Is this issue fixed @techsavvyash

from stylusdb-sql-base.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.