Skip to content

Instantly share code, notes, and snippets.

💭
On IT.

joyce obi Joyce-O

💭
On IT.
Block or report user

Report or block Joyce-O

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@Joyce-O
Joyce-O / test.js
Last active Mar 21, 2019
Unit test for get tags api endpoint in the medium.com website
View test.js
describe('Test for get tags endpoint', () => {
it('Should return status code 200 for success', (done) => {
chai.request(app)
.get('/api/tags')
.set('authorization', token)
.end((error, response) => {
expect(response).to.have.status(200);
done();
});
it('should return 404 for tags not found', (done) => {
@Joyce-O
Joyce-O / index.html
Created Oct 15, 2018
Narcissistic Numbers
View index.html
<div class="container">
<div class="wrapper">
<section id="intro">
<p id="hey">Hey!</p>
<p id="do">Do you know that humans are not the only ones that have to put up with narcissists?</p>
</section>
<section id="textarea">
<div id="modal">
<p>Try another number?</p>
@Joyce-O
Joyce-O / README-Template.md
Created Aug 26, 2018 — forked from PurpleBooth/README-Template.md
A template to make good README.md
View README-Template.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

You can’t perform that action at this time.