UNPKG

persistent-programming

Version:

[![Build Status](https://travis-ci.com/unsegnor/object-repository.svg?branch=master)](https://travis-ci.com/unsegnor/object-repository) # object-repository Object repository. Just to work with javascript objects implementing transparent persistence. No 'S

11 lines (9 loc) 273 B
const {expect} = require('chai') const InMemoryState = require('./InMemoryState') const StatePortTests = require('../domain/State.port') describe('InMemoryState', function(){ beforeEach(function(){ this.adapter = InMemoryState() }) StatePortTests() })