Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve tests to make sure new values are not overriding previous values #8

Open
thgaskell opened this issue May 19, 2016 · 1 comment

Comments

@thgaskell
Copy link

The tests do not actually check if multiple values are persisted.

@thgaskell
Copy link
Author

Example that currently passes:

module.exports = function() {
  var v = null;
  return {
    getValue: getValue,
    setValue: setValue,
  };

  function getValue (key) {
    return v;
  }

  function setValue (key, value) {
    v = value;
  }
};

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant