UNPKG

catberry

Version:

Catberry is an isomorphic framework for building universal front-end apps using components, Flux architecture and progressive rendering.

14 lines (10 loc) 218 B
'use strict'; const testUtils = require('../../utils'); class AsyncErrorStore { load() { return testUtils.wait(1).then(() => { throw new Error(this.$context.name); }); } } module.exports = AsyncErrorStore;