Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download
81165 views
1
/**
2
* Copyright 2014, Facebook, Inc.
3
* All rights reserved.
4
*
5
* This source code is licensed under the BSD-style license found in the
6
* LICENSE file in the root directory of this source tree. An additional grant
7
* of patent rights can be found in the PATENTS file in the same directory.
8
*
9
* @emails react-core
10
*/
11
12
/*jslint evil: true */
13
14
"use strict";
15
16
describe('CSSProperty', function() {
17
var CSSProperty;
18
19
beforeEach(function() {
20
require('mock-modules').dumpCache();
21
CSSProperty = require('CSSProperty');
22
});
23
24
it('should generate browser prefixes for its `isUnitlessNumber`', function() {
25
expect(CSSProperty.isUnitlessNumber.lineClamp).toBeTruthy();
26
expect(CSSProperty.isUnitlessNumber.WebkitLineClamp).toBeTruthy();
27
expect(CSSProperty.isUnitlessNumber.msFlexGrow).toBeTruthy();
28
expect(CSSProperty.isUnitlessNumber.MozFlexGrow).toBeTruthy();
29
});
30
31
});
32
33