Skip to content

A program to simulate twitter and outputs user interaction feed to the terminal

License

Notifications You must be signed in to change notification settings

joesome-git/twitter-simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Twitter Simulator

A program to simulate twitter and outputs user interaction feed to the terminal

How to run the program

  • git clone https://github.com/joesome-git/twitter-simulator.git
  • yarn install
  • yarn run start

Expected output

Alan
        @Alan: If you have a procedure with 10 parameters, you probably missed some.
        @Alan: Random numbers should not be generated with a method chosen at random.
Martin
Ward
        @Alan: If you have a procedure with 10 parameters, you probably missed some.
        @Ward: There are only two hard things in Computer Science: cache invalidation, naming things and off-by-1 errors.
        @Alan: Random numbers should not be generated with a method chosen at random.

How to run the tests

  • yarn run tests

Expected output

yarn run v1.22.19
$ jest
 PASS  tests/tweet.test.js
 PASS  tests/sort.test.js

Test Suites: 2 passed, 2 total
Tests:       5 passed, 5 total
Snapshots:   0 total
Time:        0.438 s, estimated 1 s
Ran all test suites.
✨  Done in 2.21s.

About

A program to simulate twitter and outputs user interaction feed to the terminal

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published