mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-27 17:16:14 +01:00 
			
		
		
		
	fix(deps): update dependency diff to v4 (#7198)
* fix(deps): update dependency diff to v4 * chore(deps): +diff@4.0.1 * fix: test for #7198
This commit is contained in:
		
				
					committed by
					
						 Julian Lam
						Julian Lam
					
				
			
			
				
	
			
			
			
						parent
						
							0a647316e9
						
					
				
				
					commit
					84e228bbb8
				
			| @@ -56,7 +56,7 @@ | ||||
|         "cropperjs": "^1.2.2", | ||||
|         "csurf": "^1.9.0", | ||||
|         "daemon": "^1.1.0", | ||||
|         "diff": "^3.4.0", | ||||
|         "diff": "^4.0.1", | ||||
|         "express": "^4.16.2", | ||||
|         "express-session": "^1.15.6", | ||||
|         "express-useragent": "^1.0.12", | ||||
|   | ||||
| @@ -464,7 +464,7 @@ describe('Post\'s', function () { | ||||
| 		it('should load diffs and reconstruct post', function (done) { | ||||
| 			posts.diffs.load(replyPid, 0, voterUid, function (err, data) { | ||||
| 				assert.ifError(err); | ||||
| 				assert.equal(data.content, 'A reply to edit\n'); | ||||
| 				assert.equal(data.content, 'A reply to edit'); | ||||
| 				done(); | ||||
| 			}); | ||||
| 		}); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user