Skip to content

Tests#1

Open
BorysovskaOA wants to merge 5 commits intomainfrom
tests
Open

Tests#1
BorysovskaOA wants to merge 5 commits intomainfrom
tests

Conversation

@BorysovskaOA
Copy link
Copy Markdown
Owner

@BorysovskaOA BorysovskaOA commented Apr 16, 2026

Assignment
Score
Screenshot 2026-04-16 at 13 30 43
Screenshot 2026-04-16 at 13 31 22

Self check score: 258/258
Finished: 16.04.2026 Deadline: 20.04.2026

01-simple-tests (42)

  • should add two numbers | implemented correctly (6)
  • should subtract two numbers | implemented correctly (6)
  • should multiply two numbers | implemented correctly (6)
  • should divide two numbers | implemented correctly (6)
  • should exponentiate two numbers | implemented correctly (6)
  • should return null for invalid action | implemented correctly (6)
  • should return null for invalid arguments | implemented correctly (6)
    02-table-tests (42)
  • should return 7 for 5 + 2 | implemented correctly (6)
  • should return 3 for 5 - 2 | implemented correctly (6)
  • should return 10 for 5 * 2 | implemented correctly (6)
  • should return 2.5 for 5 / 2 | implemented correctly (6)
  • should return 25 for 5 ** 2 | implemented correctly (6)
  • should return null for 5 other 2 | implemented correctly (6)
  • should return null for 5 + string | implemented correctly (6)
    03-error-handling-async (30)
  • should resolve provided value | implemented correctly (6)
  • should throw error with provided message | implemented correctly (6)
  • should throw error with default message if message is not provided | implemented correctly (6)
  • should throw custom error | implemented correctly (6)
  • should reject custom error | implemented correctly (6)
    04-test-class (60)
  • should create account with initial balance | implemented correctly (6)
  • should throw InsufficientFundsError error when withdrawing more than balance | implemented correctly (6)
  • should throw error when transferring more than balance | implemented correctly (6)
  • should throw error when transferring to the same account | implemented correctly (6)
  • should deposit money | implemented correctly (6)
  • should withdraw money | implemented correctly (6)
  • should transfer money | implemented correctly (6)
  • fetchBalance should return number in case if request did not failed | implemented correctly (6)
  • should set new balance if synchronizeBalance returned number | implemented correctly (6)
  • should throw SynchronizationFailedError if synchronizeBalance returned null | implemented correctly (6)
    05-partial-mocking (12)
  • mockOne, mockTwo, mockThree should not log into console | implemented correctly (6)
  • unmockedFunction should log into console | implemented correctly (6)
    06-mocking-node-api (42)
  • should set timeout with provided callback and timeout | implemented correctly (6)
  • should call callback only after timeout | implemented correctly (6)
  • should set interval with provided callback and timeout | implemented correctly (6)
  • should call callback multiple times after multiple intervals | implemented correctly (6)
  • should call join with pathToFile | implemented correctly (6)
  • should return null if file does not exist | implemented correctly (6)
  • should return file content if file exists | implemented correctly (6)
    07-mocking-lib-api (18)
  • should create instance with provided base url | implemented correctly (6)
  • should perform request to correct provided url | implemented correctly (6)
  • should return response data | implemented correctly (6)
    08-snapshot-testing (12)
  • should generate linked list from values 1 | implemented correctly (6)
  • should generate linked list from values 2 | implemented correctly (6)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant