diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000..8abca405 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,11 @@ +# To get started with Dependabot version updates, you'll need to specify which +# package ecosystems to update and where the package manifests are located. +# Please see the documentation for all configuration options: +# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates + +version: 2 +updates: + - package-ecosystem: "npm" # See documentation for possible values + directory: "/" # Location of package manifests + schedule: + interval: "daily" diff --git a/test/02-jsondb.test.ts b/test/02-jsondb.test.ts index af48cf3f..f53b7358 100644 --- a/test/02-jsondb.test.ts +++ b/test/02-jsondb.test.ts @@ -110,7 +110,7 @@ describe('JsonDB', () => { test('should store the data with typing', () => { const object = {Hello: "test", World: 0} as Test; db.push("@/hello", object) - const result = db.getObject("@"); + const result = db.getObject("@/hello"); expect(result).toBe(object) }) test('should have data at root', () => {