File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ test('custom slug history', async t => {
113113 t . true ( Array . isArray ( blogPost . toObject ( ) . slug_history ) ) ;
114114} ) ;
115115
116- test ( 'getUnqiueSlug static' , async t => {
116+ test ( 'getUniqueSlug static' , async t => {
117117 const blogPost = await BlogPosts . create ( { title : 'getUniqueSlug static' } ) ;
118118
119119 t . is (
@@ -122,15 +122,15 @@ test('getUnqiueSlug static', async t => {
122122 ) ;
123123} ) ;
124124
125- test ( 'getUnqiueSlug static > no str' , async t => {
125+ test ( 'getUniqueSlug static > no str' , async t => {
126126 const blogPost = await BlogPosts . create ( { title : 'getUniqueSlug no str' } ) ;
127127
128128 await t . throwsAsync ( async ( ) => BlogPosts . getUniqueSlug ( blogPost . _id ) , {
129129 message : 'The `str` argument was missing'
130130 } ) ;
131131} ) ;
132132
133- test ( 'getUnqiueSlug static > hidden' , async t => {
133+ test ( 'getUniqueSlug static > hidden' , async t => {
134134 const Schema = new mongoose . Schema ( { title : String } ) ;
135135 Schema . plugin ( mongooseSlugPlugin , {
136136 paranoid : 'hidden' ,
You can’t perform that action at this time.
0 commit comments