By: @BTroncone
Also check out my lesson @ngrx/store in 10 minutes on egghead.io!
Update: Non-middleware examples have been updated to ngrx/store v2. More coming soon!
Table of Contents
By: @BTroncone
Also check out my lesson @ngrx/store in 10 minutes on egghead.io!
Update: Non-middleware examples have been updated to ngrx/store v2. More coming soon!
Table of Contents
/******/ (function(modules) { // webpackBootstrap | |
/******/ // The module cache | |
/******/ var installedModules = {}; | |
/******/ | |
/******/ // The require function | |
/******/ function __webpack_require__(moduleId) { | |
/******/ | |
/******/ // Check if module is in cache | |
/******/ if(installedModules[moduleId]) { | |
/******/ return installedModules[moduleId].exports; |
'use strict'; | |
const sinon = require('sinon'), | |
assert = require('assert'), | |
copyHandler = require('../index').handler; | |
describe('copy bucket handler', () => { | |
const S3 = { | |
copyObject: sinon.spy() |
magic(function*() { | |
const uri = 'http://date.jsontest.com/'; | |
const response = yield fetch(uri); | |
const date = yield response.json(); | |
const time = date.time; | |
console.log('time: ', time); | |
}); | |
function magic(generator) { | |
const iterator = generator(); |