@transferwise/neptune-validation 0.0.0-experimental-f964eb0 → 0.0.0-experimental-6d4eab4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
isUndefined,
|
|
10
10
|
} from '.';
|
|
11
11
|
|
|
12
|
-
describe('
|
|
12
|
+
describe('given a library for validating data types', () => {
|
|
13
13
|
describe('when validating a string', () => {
|
|
14
14
|
it('should return true when the value is a string', () => {
|
|
15
15
|
expect(isString('a')).toBe(true);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { isEmpty } from '.';
|
|
2
2
|
|
|
3
|
-
describe('
|
|
3
|
+
describe('given a library for validating values', () => {
|
|
4
4
|
describe('when checking for empty values', () => {
|
|
5
5
|
it('should return true for empty strings', () => {
|
|
6
6
|
expect(isEmpty('')).toBe(true);
|