UNPKG

unmock-core

Version:

[![npm](https://img.shields.io/npm/v/unmock-core.svg)][npmjs] [![CircleCI](https://circleci.com/gh/unmock/unmock-js.svg?style=svg)](https://circleci.com/gh/unmock/unmock-js) [![codecov](https://codecov.io/gh/unmock/unmock-js/branch/dev/graph/badge.svg)](h

12 lines 364 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); class CompositeSerializer { constructor(...args) { this.serializers = [...args]; } serialize(json) { return this.serializers.reduce((prev, cur) => cur.serialize(prev), json); } } exports.default = CompositeSerializer; //# sourceMappingURL=composite.js.map