Skip to content

Commit

Permalink
test: ✏️ update test descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
DerZade authored Nov 15, 2023
1 parent 2ccfb04 commit 4a313c7
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion test/toDirection.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { describe, expect, it } from 'vitest';
import { toDirection } from '../src';

describe('toDirection', () => {
it('should return ltr for invalid values', () => {
it('should return "ltr" for invalid values', () => {
expect(toDirection('blub')).toBe('ltr');
});
it('should accept "rtl"', () => {
Expand Down
2 changes: 1 addition & 1 deletion test/toFlexDirection.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { describe, expect, it } from 'vitest';
import { toFlexDirection } from '../src';

describe('toFlexDirection', () => {
it('should return row for invalid values', () => {
it('should return "row" for invalid values', () => {
expect(toFlexDirection('blub')).toBe('row');
});
it('should accept "row"', () => {
Expand Down
2 changes: 1 addition & 1 deletion test/toFlexWrap.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { describe, expect, it } from 'vitest';
import { toFlexWrap } from '../src';

describe('toFlexWrap', () => {
it('should return nowrap for invalid values', () => {
it('should return "nowrap" for invalid values', () => {
expect(toFlexWrap('blub')).toBe('nowrap');
});
it('should accept "nowrap"', () => {
Expand Down
6 changes: 3 additions & 3 deletions test/toWritingMode.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ describe('toWritingMode', () => {
it('should return "horizontal-tb" for "rl"', () => {
expect(toWritingMode('rl')).toBe('horizontal-tb');
});
it('should return "horizontal-tb" for "tb"', () => {
it('should return "vertical-lr" for "tb"', () => {
expect(toWritingMode('tb')).toBe('vertical-lr');
});
it('should return "horizontal-tb" for "tb-lr"', () => {
it('should return "vertical-lr" for "tb-lr"', () => {
expect(toWritingMode('tb-lr')).toBe('vertical-lr');
});
it('should return "horizontal-tb" for "tb-rl"', () => {
it('should return "vertical-rl" for "tb-rl"', () => {
expect(toWritingMode('tb-rl')).toBe('vertical-rl');
});
it('should accept "horizontal-tb"', () => {
Expand Down

0 comments on commit 4a313c7

Please sign in to comment.