Skip to content

Commit

Permalink
Release v0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerBrock committed Dec 1, 2015
1 parent fdc7598 commit f49fead
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 7 deletions.
19 changes: 16 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,27 @@ Master Build Status: [![Circle CI](https://circleci.com/gh/HustleInc/parse-mockd

Provides a mocked Parse RESTController compatible with version `1.6+` **ONLY** of the JavaScript SDK.

## Installation
## Installation and Usage

```
```js
npm install parse-mockdb --save-dev
```

## Tests
```js
'use strict';
const ParseMockDB = require('../src/parse-mockdb');
const Parse = require('parse/node');

ParseMockDB.mockDB(); // Mock the Parse RESTController

// Perform saves, queries, updates, deletes, etc... using the Parse JS SDK

ParseMockDB.cleanUp(); // Clear the Database
ParseMockDB.unMockDB(); // Un-mock the Parse RESTController
```

## Tests

```sh
npm test
```
7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "parse-mockdb",
"version": "0.0.3",
"description": "Parse JS SDK Mocked Backend",
"version": "0.1.0",
"description": "Parse JS SDK Mocked Database",
"main": "src/parse-mockdb.js",
"engines": {
"node": ">=4.0.0"
Expand All @@ -17,10 +17,9 @@
"parse",
"parsesdk",
"mock",
"stub",
"unit-testing"
],
"author": "Roddy Lindsay, Tyler Brock",
"author": "Tyler Brock, Roddy Lindsay",
"license": "MIT",
"bugs": {
"url": "https://github.com/HustleInc/parse-mockdb/issues"
Expand Down

0 comments on commit f49fead

Please sign in to comment.