Skip to content

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Repository files navigation

Cinema-Ticket-Solution

The solution includes a cinema ticket booking service with the capability to handle multiple ticket types (Adult, Child, Infant), enforce purchase rules, and provide testing with Jest.

Setup Instructions

  1. Clone the repository:

    git clone `repo link`
    cd repo-name
    
  2. Install dependencies: npm install

  3. Run the Jest test suite to verify the working of the solution: npm jest

NOTE:

In the jest test file test/TicketServeTest.test.js I have already defined 13 test cases which I believe are the important one. Please feel free to edit existing test cases and add new of your own choice.

Initially, I designed a basic flow of the solution with the help of class diagram. which is also uploaded along with the repo.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages