Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[minor] semicolons

  • Loading branch information...
commit 4adf3de4ddc86842af97ad48829a168b400dfa9e 1 parent ee043ba
@3rd-Eden authored
Showing with 10 additions and 8 deletions.
  1. +10 −8 tests/features.test.js
View
18 tests/features.test.js
@@ -1,14 +1,16 @@
-var useragent = require('../')
- , features = require('../features')
- , ua = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_1) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.24 Safari/535.2"
-
describe('useragent/features', function () {
+ 'use strict';
+
+ var useragent = require('../')
+ , features = require('../features')
+ , ua = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_1) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.24 Safari/535.2";
+
describe('#satisfies', function () {
it('should satisfy that range selector', function () {
- var agent = useragent.parse(ua)
+ var agent = useragent.parse(ua);
agent.satisfies('15.x || >=19.5.0 || 25.0.0 - 17.2.3').should.be_true;
agent.satisfies('>16.12.0').should.be_false;
- })
- })
-})
+ });
+ });
+});
Please sign in to comment.
Something went wrong with that request. Please try again.