weather-prism
Version:
A node module for retrieving PRISM daily weather data for an arbitrary location (lat-lon)
25 lines (20 loc) • 494 B
text/typescript
import _ from 'lodash';
import { expect } from 'chai';
import { fetch } from '../dist/index';
describe('Lots of tests', function() {
this.timeout(100000);
before(async () => {
});
after(async () => {
});
it(`Should fetch weather data on new AOI`, async () => {
this.timeout(100000);
let {data} = await fetch({
lat: 40.48343343339606,
lon: -86.97950005531311,
years: [2010]
})
console.log(data);
expect(data).to.include.keys([]);
});
});