Skip to content

Commit 0668183

Browse files
authored
Update redisGraphAPITest.js
1 parent 2aac07d commit 0668183

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/redisGraphAPITest.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,9 @@ RedisGraphAPI = require('../src/redisGraph');
55

66
describe('RedisGraphAPI Test', () =>{
77
const api = new RedisGraphAPI("social");
8-
// Dummy create to make sure first delete won't fail
9-
api.query("CREATE ({name:'roi',age:32})");
108

119
beforeEach( () => {
12-
return api.deleteGraph();
10+
return api.deleteGraph().catch(()=>{});
1311
});
1412

1513
it('test bring your client', () => {

0 commit comments

Comments
 (0)