Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | 24x 24x 24x 24x 24x | import { mount } from 'riot';
import shallowize from 'riot-shallowize';
import RendererBase from './RendererBase';
// hack to retrieve internal function
const shallow = (function() {
const namespace = shallowize({} as any); // stub
return namespace.shallow as typeof mount;
})();
/**
* A shallow renderer for `riot`
*/
export default class ShallowRenderer extends RendererBase {
constructor() {
super(shallow);
}
}
|