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