e22m4u 2 недель назад
Родитель
Сommit
e0e2ae2bd9
1 измененных файлов с 4 добавлено и 4 удалено
  1. 4 4
      src/project-data.spec.js

+ 4 - 4
src/project-data.spec.js

@@ -160,7 +160,7 @@ describe('projectData', function () {
     projectData({}, () => 'str', {nameResolver: () => ({})});
   });
 
-  it('should resolve the schema name by the name resolver', function () {
+  it('should resolve a schema name by the name resolver', function () {
     let invoked = 0;
     const nameResolver = name => {
       invoked++;
@@ -172,7 +172,7 @@ describe('projectData', function () {
     expect(invoked).to.be.eq(1);
   });
 
-  it('should require the "nameResolver" option when the schema name is provided', function () {
+  it('should require the "nameResolver" option when a schema name is provided', function () {
     const throwable = () => projectData({}, 'mySchema');
     expect(throwable).to.throw(
       'Projection option "nameResolver" is required ' +
@@ -200,7 +200,7 @@ describe('projectData', function () {
     throwable({})();
   });
 
-  it('should resolve the schema name from the factory function', function () {
+  it('should resolve a schema name from the factory function', function () {
     let invoked = 0;
     const nameResolver = name => {
       invoked++;
@@ -214,7 +214,7 @@ describe('projectData', function () {
     expect(invoked).to.be.eq(1);
   });
 
-  it('should resolve the schema name in the the nested object', function () {
+  it('should resolve a schema name in the nested object', function () {
     let invoked = 0;
     const nameResolver = name => {
       invoked++;