Skip to content

Instantly share code, notes, and snippets.

View Oluwafayokemi's full-sized avatar
💎
Adding tremendous value the code way

Fayokemi Hunja Oluwafayokemi

💎
Adding tremendous value the code way
View GitHub Profile
@Oluwafayokemi
Oluwafayokemi / index.js
Last active January 8, 2019 18:14
OOP- Aircraft
"use strict";
class AirCraft{
constructor(name, speed, altitude, capacity){
this.name = name;
this.speed = speed;
this.altitude = altitude;
@Oluwafayokemi
Oluwafayokemi / user.test.js
Last active August 8, 2018 22:14
TDD for Authors' Haven - Team Elven
import chai from 'chai';
import supertest from 'supertest';
import app from '../app';
const request = supertest(app);
const { expect } = chai;
// existing user email
// invalid email
// password of length less than 8