Skip to content

Instantly share code, notes, and snippets.

@owans
Last active April 22, 2019 18:34
Show Gist options
  • Save owans/0effc399557d93f5adb69c60445c05c6 to your computer and use it in GitHub Desktop.
Save owans/0effc399557d93f5adb69c60445c05c6 to your computer and use it in GitHub Desktop.
Today's weather using TDD

var assert = require('assert'); var expect = require('chai').expect;

describe("Today", function(){ it("today's date", function(){ expect (new Date); });

describe("Today's Weather", function(){
    it("Should return today's weather", function(){

        method = "GET";
        
        actual = `http://api.openweathermap.org/data/2.5/weather?q=Lagos&APPID=6a8198ce2cfa4d3a54ae475396b9ce2b`
        
        expect(actual);
    })
})

})

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment