Skip to content

Commit 8eaf313

Browse files
committed
fix: fixed typo
1 parent 5a0b06d commit 8eaf313

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/test.js

+3-3
Original file line numberDiff line numberDiff 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',

0 commit comments

Comments
 (0)