Skip to content

Commit ccbc738

Browse files
committed
Fixing Typos
1 parent 6940edc commit ccbc738

3 files changed

Lines changed: 9 additions & 2 deletions

File tree

.vscode/settings.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"cSpell.words": [
3+
"adhoc",
4+
"authz",
5+
"nodeunit"
6+
]
7+
}

__tests__/embedPermissions.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ test('Permissions embedded under default key', (t) => {
7070
'Incorrect permissions embedded',
7171
);
7272
});
73-
test('Permissions embded under custom key', (t) => {
73+
test('Permissions embedded under custom key', (t) => {
7474
const managerDoc = { _id: 'someId' };
7575
embedPermissions(t.context.schema, { permissions: 'customKey' }, ['manager'], managerDoc);
7676
t.deepEqual(

__tests__/methods/Model.create.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ test('Model.create should not be callable with plugin installed', (t) => {
2525

2626
test('Model.create should be callable without the plugin installed', async (t) => {
2727
const schema = new mongoose.Schema({ friend: String });
28-
const MyModel = mongoose.model('ModelCreateWithoutPluggin', schema);
28+
const MyModel = mongoose.model('ModelCreateWithoutPlugin', schema);
2929

3030
await t.notThrowsAsync(MyModel.create({ friend: 'bar' }));
3131
});

0 commit comments

Comments
 (0)