Comparing version 1.0.0-alpha.8 to 1.0.0-alpha.9
@@ -251,2 +251,13 @@ 'use strict'; | ||
// expect(statuses.includes(true) !== true).toBe(true) | ||
}); | ||
test('find by include where', async function () { | ||
var post = await Post.findOne({ | ||
include: { | ||
as: 'creator', | ||
where: { name: username } | ||
} | ||
}); | ||
expect(post.creator.name).toBe(username); | ||
}); |
@@ -185,1 +185,12 @@ import dotenv from 'dotenv' | ||
}) | ||
test('find by include where', async () => { | ||
const post = await Post.findOne({ | ||
include: { | ||
as: 'creator', | ||
where: {name: username} | ||
} | ||
}) | ||
expect(post.creator.name).toBe(username) | ||
}) |
{ | ||
"name": "final-orm", | ||
"version": "1.0.0-alpha.8", | ||
"version": "1.0.0-alpha.9", | ||
"repository": { | ||
@@ -49,3 +49,3 @@ "type": "git", | ||
"arangojs": "^5.7.0", | ||
"arangolize": "^0.9.5", | ||
"arangolize": "^0.9.6", | ||
"core-decorators": "^0.20.0", | ||
@@ -52,0 +52,0 @@ "dotenv": "^4.0.0", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
99164
2597
Updatedarangolize@^0.9.6