This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"use strict"; | |
class AirCraft{ | |
constructor(name, speed, altitude, capacity){ | |
this.name = name; | |
this.speed = speed; | |
this.altitude = altitude; |