cqm-models 4.1.0 → 4.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +7 -8
- data/app/assets/javascripts/QDMPatient.js +25 -2
- data/app/assets/javascripts/attributes/Component.js +17 -0
- data/app/assets/javascripts/attributes/Entity.js +17 -0
- data/app/assets/javascripts/basetypes/Any.js +1 -1
- data/app/assets/javascripts/basetypes/AnyEntity.js +1 -1
- data/app/models/cqm/individual_result.rb +2 -2
- data/app/models/cqm/measure.rb +1 -1
- data/app/models/cqm/patient.rb +1 -1
- data/app/models/cqm/provider.rb +0 -2
- data/app/models/qdm/attributes/identifier.rb +2 -0
- data/app/models/qdm/basetypes/data_element.rb +3 -1
- data/cqm-models.gemspec +5 -5
- data/dist/browser.js +3437 -1168
- data/dist/index.js +3437 -1168
- data/jest.config.js +16 -0
- data/package-lock.json +12937 -0
- data/package.json +15 -11
- data/templates/mongoose_template.js.erb +17 -0
- data/templates/patient_template.js.erb +25 -2
- data/yarn.lock +2636 -1375
- metadata +25 -24
- data/.github/workflows/gitleaks_github_actions.yml +0 -28
data/jest.config.js
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
/*
|
2
|
+
* For a detailed explanation regarding each configuration property, visit:
|
3
|
+
* https://jestjs.io/docs/configuration
|
4
|
+
*/
|
5
|
+
|
6
|
+
module.exports = {
|
7
|
+
name: 'jest',
|
8
|
+
testEnvironment: 'node',
|
9
|
+
verbose: true,
|
10
|
+
roots: ['<rootDir>/app/assets/', '<rootDir>/spec/javascript'],
|
11
|
+
testMatch: ['<rootDir>//spec/javascript/**/*.js'],
|
12
|
+
modulePathIgnorePatterns: ['<rootDir>/dist/'],
|
13
|
+
collectCoverageFrom: [
|
14
|
+
'app/assets/**/*.js',
|
15
|
+
],
|
16
|
+
};
|