Skip to content

Instantly share code, notes, and snippets.

@Jahans3
Created November 7, 2017 23:12
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Jahans3/611f5f77ecfae1a1af64216e7b9cef5b to your computer and use it in GitHub Desktop.
Save Jahans3/611f5f77ecfae1a1af64216e7b9cef5b to your computer and use it in GitHub Desktop.
describe('getCar', () => {
it('should implement the Vehicle Interface', done => {
const someCar = CarService.getCar()
// Ensure someCar implements Vehicle Interface
implement(Vehicle)(someCar)
done()
})
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment