@fintory/utils
Advanced tools
Comparing version 0.2.0 to 0.3.0
@@ -6,2 +6,13 @@ # Change Log | ||
# [0.3.0](https://github.com/fintory/toolkit/compare/@fintory/utils@0.2.0...@fintory/utils@0.3.0) (2018-12-04) | ||
### Features | ||
* **utils:** replace `test` with `it` methods ([2d21eac](https://github.com/fintory/toolkit/commit/2d21eac)) | ||
# 0.2.0 (2018-11-28) | ||
@@ -8,0 +19,0 @@ |
{ | ||
"name": "@fintory/utils", | ||
"description": "Utilities we are internally using at Fintory", | ||
"version": "0.2.0", | ||
"version": "0.3.0", | ||
"main": "lib/index.js", | ||
@@ -17,3 +17,3 @@ "module": "es/index.js", | ||
}, | ||
"gitHead": "bed880841c6dba1a19fa5c31985f6109bd7aa70c" | ||
"gitHead": "d745d8ff86b688ba31b8b027d6fff60f7247a943" | ||
} |
@@ -5,7 +5,7 @@ import fontSize, { generateFontSize } from '../src/dynamicFontSize' | ||
describe('fontSize', () => { | ||
test('returns a function', () => { | ||
it('returns a function', () => { | ||
expect(typeof fontSize).toEqual('function') | ||
}) | ||
test('function returns an css literal', () => { | ||
it('function returns an css literal', () => { | ||
const css = fontSize(16) | ||
@@ -17,7 +17,7 @@ expect(typeof css).toEqual('object') | ||
describe('generateFontSize', () => { | ||
test('returns a function', () => { | ||
it('returns a function', () => { | ||
expect(typeof generateFontSize).toEqual('function') | ||
}) | ||
test('returns an object with right numbers', () => { | ||
it('returns an object with right numbers', () => { | ||
const value = generateFontSize(16) | ||
@@ -30,3 +30,3 @@ | ||
test('accepts second attribute for line height', () => { | ||
it('accepts second attribute for line height', () => { | ||
const value = generateFontSize(16, 1.5) | ||
@@ -33,0 +33,0 @@ |
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
17789
11
1
30