UNPKG

avifors

Version:

A MDE tool that generates code from a YAML definition of your app domain model.

9 lines (7 loc) 307 B
import assert from 'assert' import YamlHelper from '../YamlHelper' describe('# tools/YamlHelper', function() { describe('serialize', function() { it("should serialize given structure", () => assert.equal("config:\n a: b\n c: d\n", (new YamlHelper().serialize({config: {a: "b", c: "d"}})))) }) })