Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
Signed-off-by: Dan Selman <[email protected]>
  • Loading branch information
dselman committed Oct 17, 2024
1 parent 3735dc4 commit 16a1100
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/concerto-core/lib/decoratormanager.js
Original file line number Diff line number Diff line change
Expand Up @@ -800,7 +800,7 @@ class DecoratorManager {
return true;
} else {
Warning.printDeprecationWarning(
'Functionality for namespace targeted Decorator Command Sets has beed changed. Using namespace targets to apply decorators on all declarations in a namespace will be deprecated soon.',
'Functionality for namespace targeted Decorator Command Sets has changed. Using namespace targets to apply decorators on all declarations in a namespace will be deprecated soon.',
ErrorCodes.DEPRECATION_WARNING,
ErrorCodes.CONCERTO_DEPRECATION_001,
'Please refer to https://concerto.accordproject.org/deprecation/001'
Expand Down
2 changes: 1 addition & 1 deletion packages/concerto-core/test/decoratormanager.js
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ describe('DecoratorManager', () => {
it('should add decorators that target namespace and catch warning - behaviour to be deprecated', async function() {
// event listner to catch the warning
process.once('warning', (warning) => {
chai.expect(warning.message).to.be.equals('DEPRECATED: Functionality for namespace targeted Decorator Command Sets has beed changed. Using namespace targets to apply decorators on all declarations in a namespace will be deprecated soon.');
chai.expect(warning.message).to.be.equals('DEPRECATED: Functionality for namespace targeted Decorator Command Sets has changed. Using namespace targets to apply decorators on all declarations in a namespace will be deprecated soon.');
chai.expect(warning.name).to.be.equals(DEPRECATION_WARNING);
chai.expect(warning.code).to.be.equals(CONCERTO_DEPRECATION_001);
chai.expect(warning.detail).to.be.equals('Please refer to https://concerto.accordproject.org/deprecation/001');
Expand Down
2 changes: 1 addition & 1 deletion packages/concerto-types/src/concerto.metamodel.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ test('Chained TypeScript and JSONSchema conversion respects inheritance when fla
// Validate the instance with Ajv, a JSON Schema validator
const ajv = new Ajv()
const validate = ajv.compile(jsonSchema)
const valid = validate(data)
validate(data);
expect(validate.errors).toBeNull();

// Validate the instance with Concerto
Expand Down

0 comments on commit 16a1100

Please sign in to comment.