Skip to content

viglioni/marblejs-test-example

Repository files navigation

MarbleJs test example

Instructions

Install

npm i

Run

npm run dev

Test

npm test

Endpoints

pathdescriptiontype
”/”health checkGET
“/character”create charPOST
  • /character body must be:
    {
      name: "Name with letters and or spaces",
      alignment: "Sith" | "Jedi" | "Grey Jedi"
    }
        

Test error

After running the tests I’m getting this error:

	Ran all test suites.
Jest did not exit one second after the test run has completed.

This usually means that there are asynchronous operations that weren't stopped in your tests. Consider running Jest with `--detectOpenHandles` to troubleshoot this issue.

About

small repo to reproduce error

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published