Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(nightingale-formatter): remove deprecated styleToHtmlStyle export
BREAKING CHANGE: removed deprecated styleToHtmlStyle export
- Loading branch information
1 parent
821cc7e
commit 24e7391
Showing
2 changed files
with
23 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,33 @@ | ||
import { | ||
levelToStyles, | ||
levelToSymbol, | ||
styleToHtmlStyle, | ||
styleToHtmlStyleThemeLight, | ||
styleToHtmlStyleThemeDark, | ||
styleToHexColor, | ||
formatObject, | ||
formatRecordToString, | ||
} from '.'; | ||
|
||
describe('test exports', () => { | ||
test('levelToStyles', () => expect(typeof levelToStyles).toBe('object')); | ||
test('levelToSymbol', () => expect(typeof levelToSymbol).toBe('object')); | ||
test('styleToHtmlStyle', () => | ||
expect(typeof styleToHtmlStyle).toBe('object')); | ||
test('styleToHexColor', () => expect(typeof styleToHexColor).toBe('object')); | ||
test('formatObject', () => expect(typeof formatObject).toBe('function')); | ||
test('formatRecordToString', () => | ||
expect(typeof formatRecordToString).toBe('function')); | ||
test('levelToStyles', () => { | ||
expect(typeof levelToStyles).toBe('object'); | ||
}); | ||
test('levelToSymbol', () => { | ||
expect(typeof levelToSymbol).toBe('object'); | ||
}); | ||
test('styleToHtmlStyleThemeLight', () => { | ||
expect(typeof styleToHtmlStyleThemeLight).toBe('object'); | ||
}); | ||
test('styleToHtmlStyleThemeDark', () => { | ||
expect(typeof styleToHtmlStyleThemeDark).toBe('object'); | ||
}); | ||
test('styleToHexColor', () => { | ||
expect(typeof styleToHexColor).toBe('object'); | ||
}); | ||
test('formatObject', () => { | ||
expect(typeof formatObject).toBe('function'); | ||
}); | ||
test('formatRecordToString', () => { | ||
expect(typeof formatRecordToString).toBe('function'); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters