We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c4266b commit 34a5f25Copy full SHA for 34a5f25
src/resolver/Mutation/create.spec.js
@@ -1,7 +1,7 @@
1
import create from './create';
2
3
-test('returns a new object with id 1 on empty datastore', () => {
4
- expect(create()(null, {})).toEqual({ id: 1 });
+test('returns a new object with id 0 on empty datastore', () => {
+ expect(create()(null, {})).toEqual({ id: 0 });
5
});
6
7
test('returns a new object with incremental id', () => {
0 commit comments