@financial-times/biz-ops-schema
Advanced tools
Comparing version 0.5.1 to 0.5.2
{ | ||
"name": "@financial-times/biz-ops-schema", | ||
"version": "0.5.1", | ||
"version": "0.5.2", | ||
"description": "Schema for biz-ops data store and api. It provides two things: - yaml files which define which types, properties and relationships are allowed - a nodejs library for extracting subsets of this information", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -142,5 +142,7 @@ const rawData = require('../../lib/raw-data'); | ||
expect(typeof config.label).toBe('string'); | ||
expect(/[\.!]$/.test(config.label.trim())).toBe(false); | ||
}); | ||
it('has valid description', () => { | ||
expect(typeof config.description).toBe('string'); | ||
expect(/[\.\?]$/.test(config.description.trim())).toBe(true); | ||
}); | ||
@@ -147,0 +149,0 @@ it('has valid type', () => { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
116380
2015