@@ -149,8 +149,8 @@ describe("repository > find methods", () => {
149149 await postRepository . save ( post )
150150 }
151151
152- // check exist method
153- const exists = await postRepository . exist ( {
152+ // check exists method
153+ const exists = await postRepository . exists ( {
154154 order : { id : "ASC" } ,
155155 } )
156156 exists . should . be . equal ( true )
@@ -169,8 +169,8 @@ describe("repository > find methods", () => {
169169 await postRepository . save ( post )
170170 }
171171
172- // check exist method
173- const exists = await postRepository . exist ( {
172+ // check exists method
173+ const exists = await postRepository . exists ( {
174174 where : { categoryName : "odd" } ,
175175 order : { id : "ASC" } ,
176176 } )
@@ -191,8 +191,8 @@ describe("repository > find methods", () => {
191191 await postRepository . save ( post )
192192 }
193193
194- // check exist method
195- const exists = await postRepository . exist ( {
194+ // check exists method
195+ const exists = await postRepository . exists ( {
196196 where : { categoryName : "odd" , isNew : true } ,
197197 order : { id : "ASC" } ,
198198 } )
@@ -215,8 +215,8 @@ describe("repository > find methods", () => {
215215 await postRepository . save ( post )
216216 }
217217
218- // check exist method
219- const exists = await postRepository . exist ( )
218+ // check exists method
219+ const exists = await postRepository . exists ( )
220220 exists . should . be . equal ( true )
221221 } ) ,
222222 ) )
@@ -236,8 +236,8 @@ describe("repository > find methods", () => {
236236 await postRepository . save ( post )
237237 }
238238
239- // check exist method
240- const exists = await postRepository . exist ( {
239+ // check exists method
240+ const exists = await postRepository . exists ( {
241241 where : { categoryName : "even" , isNew : true } ,
242242 skip : 1 ,
243243 take : 2 ,
0 commit comments