Skip to content

Conversation

@oparkins
Copy link
Member

@oparkins oparkins commented Oct 9, 2019

Added a storage factory that returns local storage based on browser or node environment. The browser uses the built in localStorage functionality of browsers. Node currently uses a module that provides the same interface.

Webpack has been updated so when it runs, it will not package the node modules. This makes the tests better because it is using just the browser at that point.

The tests were rewritten so that anything that deals with file operations occurs on both platforms. Like rgpm/core.

I tried to test basic operations. The tests can be expanded for sure, but they are a good starting point.

…t found. Test has been fixed as well. Closed #2
@oparkins oparkins added this to the Browser Local Storage milestone Oct 9, 2019
@oparkins oparkins requested a review from irremotus October 9, 2019 04:36
@oparkins
Copy link
Member Author

oparkins commented Oct 9, 2019

Ignore the failing builds right now... There appears to be an issue with Travis-CI Xenial image. I put in a comment at https://travis-ci.community/t/xenial-kernel-does-not-appear-to-have-sandbox-capabilities/5370.

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

Successfully merging this pull request may close these issues.

2 participants