@@ -159,7 +159,7 @@ describe("NestableToken", function () {
159159 const childId1 = 99 ;
160160 await child . nestMint ( parent . address , childId1 , parentId ) ;
161161
162- // owner is the same adress
162+ // owner is the same address
163163 expect ( await parent . ownerOf ( parentId ) ) . to . equal ( tokenOwner . address ) ;
164164 expect ( await child . ownerOf ( childId1 ) ) . to . equal ( tokenOwner . address ) ;
165165
@@ -1356,7 +1356,7 @@ describe("NestableToken", function () {
13561356 await child . mint ( firstOwner . address , childId1 ) ;
13571357 } ) ;
13581358
1359- it ( "cannot nest tranfer from non immediate owner (owner of parent)" , async function ( ) {
1359+ it ( "cannot nest transfer from non immediate owner (owner of parent)" , async function ( ) {
13601360 const otherParentId = 2 ;
13611361 await parent . mint ( firstOwner . address , otherParentId ) ;
13621362 // We send it to the parent first
@@ -1371,7 +1371,7 @@ describe("NestableToken", function () {
13711371 ) . to . be . revertedWithCustomError ( child , "NotApprovedOrDirectOwner" ) ;
13721372 } ) ;
13731373
1374- it ( "cannot nest tranfer to same NFT" , async function ( ) {
1374+ it ( "cannot nest transfer to same NFT" , async function ( ) {
13751375 // We can no longer nest transfer it, even if we are the root owner:
13761376 await expect (
13771377 child
@@ -1380,7 +1380,7 @@ describe("NestableToken", function () {
13801380 ) . to . be . revertedWithCustomError ( child , "NestableTransferToSelf" ) ;
13811381 } ) ;
13821382
1383- it ( "cannot nest tranfer a descendant same NFT" , async function ( ) {
1383+ it ( "cannot nest transfer a descendant same NFT" , async function ( ) {
13841384 // We can no longer nest transfer it, even if we are the root owner:
13851385 await child
13861386 . connect ( firstOwner )
@@ -1402,7 +1402,7 @@ describe("NestableToken", function () {
14021402 ) . to . be . revertedWithCustomError ( child , "NestableTransferToDescendant" ) ;
14031403 } ) ;
14041404
1405- it ( "cannot nest tranfer if ancestors tree is too deep" , async function ( ) {
1405+ it ( "cannot nest transfer if ancestors tree is too deep" , async function ( ) {
14061406 let lastId = childId1 ;
14071407 for ( let i = 101 ; i <= 200 ; i ++ ) {
14081408 await child . nestMint ( child . address , i , lastId ) ;
@@ -1415,20 +1415,20 @@ describe("NestableToken", function () {
14151415 ) . to . be . revertedWithCustomError ( child , "NestableTooDeep" ) ;
14161416 } ) ;
14171417
1418- it ( "cannot nest tranfer if not owner" , async function ( ) {
1418+ it ( "cannot nest transfer if not owner" , async function ( ) {
14191419 const notOwner = addrs [ 3 ] ;
14201420 await expect (
14211421 child . connect ( notOwner ) . nestTransfer ( parent . address , childId1 , parentId )
14221422 ) . to . be . revertedWithCustomError ( child , "NotApprovedOrDirectOwner" ) ;
14231423 } ) ;
14241424
1425- it ( "cannot nest tranfer to address 0" , async function ( ) {
1425+ it ( "cannot nest transfer to address 0" , async function ( ) {
14261426 await expect (
14271427 child . connect ( firstOwner ) . nestTransfer ( ADDRESS_ZERO , childId1 , parentId )
14281428 ) . to . be . revertedWithCustomError ( child , "ERC721TransferToTheZeroAddress" ) ;
14291429 } ) ;
14301430
1431- it ( "cannot nest tranfer to a non contract" , async function ( ) {
1431+ it ( "cannot nest transfer to a non contract" , async function ( ) {
14321432 const newOwner = addrs [ 2 ] ;
14331433 await expect (
14341434 child
@@ -1437,7 +1437,7 @@ describe("NestableToken", function () {
14371437 ) . to . be . revertedWithCustomError ( child , "IsNotContract" ) ;
14381438 } ) ;
14391439
1440- it ( "cannot nest tranfer to contract if it does implement INestable" , async function ( ) {
1440+ it ( "cannot nest transfer to contract if it does implement INestable" , async function ( ) {
14411441 const ERC721 = await ethers . getContractFactory ( "ERC721Mock" ) ;
14421442 const nonNestable = await ERC721 . deploy ( "Non receiver" , "NR" ) ;
14431443 await nonNestable . deployed ( ) ;
@@ -1451,7 +1451,7 @@ describe("NestableToken", function () {
14511451 ) ;
14521452 } ) ;
14531453
1454- it ( "can nest tranfer to INestable contract" , async function ( ) {
1454+ it ( "can nest transfer to INestable contract" , async function ( ) {
14551455 await child
14561456 . connect ( firstOwner )
14571457 . nestTransfer ( parent . address , childId1 , parentId ) ;
@@ -1463,7 +1463,7 @@ describe("NestableToken", function () {
14631463 ] ) ;
14641464 } ) ;
14651465
1466- it ( "cannot nest tranfer to non existing parent token" , async function ( ) {
1466+ it ( "cannot nest transfer to non existing parent token" , async function ( ) {
14671467 const notExistingParentId = 9999 ;
14681468 await expect (
14691469 child
0 commit comments