mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 11:05:54 +01:00 
			
		
		
		
	test: remove is touch test
This commit is contained in:
		| @@ -295,11 +295,6 @@ describe('Utility Methods', () => { | |||||||
| 		done(); | 		done(); | ||||||
| 	}); | 	}); | ||||||
|  |  | ||||||
| 	it('should return false if not touch device', (done) => { |  | ||||||
| 		assert(!utils.isTouchDevice()); |  | ||||||
| 		done(); |  | ||||||
| 	}); |  | ||||||
|  |  | ||||||
| 	it('should check if element is in viewport', (done) => { | 	it('should check if element is in viewport', (done) => { | ||||||
| 		const el = $('<div>some text</div>'); | 		const el = $('<div>some text</div>'); | ||||||
| 		assert(utils.isElementInViewport(el)); | 		assert(utils.isElementInViewport(el)); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user