@forwardimpact/libmock 0.1.11 → 0.1.13

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/README.md CHANGED
@@ -49,7 +49,7 @@ import {
49
49
  createTestPerson,
50
50
  createTestRoster,
51
51
  createTestEvidenceRow,
52
- // libeval stream/message helpers
52
+ // libharness stream/message helpers
53
53
  createToolUseMsg,
54
54
  createTextBlockMsg,
55
55
  createTestTrace,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forwardimpact/libmock",
3
- "version": "0.1.11",
3
+ "version": "0.1.13",
4
4
  "description": "Shared mocks and test fixtures so every library and service tests the same way.",
5
5
  "keywords": [
6
6
  "test",
@@ -1,8 +1,8 @@
1
1
  /**
2
- * Test helpers for libeval-style streams, tool-use messages, and traces.
2
+ * Test helpers for libharness-style streams, tool-use messages, and traces.
3
3
  *
4
4
  * Centralizes concludeMsg / redirectMsg / tellMsg / stripAnsi / collect /
5
- * writeLines / buildTrace so test files under libraries/libeval/test do not
5
+ * writeLines / buildTrace so test files under libraries/libharness/test do not
6
6
  * each inline their own copy.
7
7
  */
8
8
 
@@ -82,7 +82,7 @@ export function createTestLevels() {
82
82
  supporting: "practitioner",
83
83
  broad: "working",
84
84
  },
85
- baseBehaviourMaturity: "role_modeling",
85
+ baseBehaviourMaturity: "role-modeling",
86
86
  }),
87
87
  ];
88
88
  }
@@ -156,7 +156,7 @@ export function createTestSkills() {
156
156
  */
157
157
  export function createTestDiscipline(overrides = {}) {
158
158
  return {
159
- id: "software_engineering",
159
+ id: "software-engineering",
160
160
  name: "Software Engineering",
161
161
  roleTitle: "Software Engineer",
162
162
  isProfessional: true,
@@ -198,7 +198,7 @@ export function createTestBehaviour(overrides = {}) {
198
198
  emerging: "Beginning to collaborate",
199
199
  developing: "Developing collaboration",
200
200
  practicing: "Practicing collaboration",
201
- role_modeling: "Role modeling collaboration",
201
+ "role-modeling": "Role modeling collaboration",
202
202
  exemplifying: "Exemplifying collaboration",
203
203
  },
204
204
  ...overrides,
@@ -337,7 +337,7 @@ export function createTestTracks() {
337
337
  skillModifiers: { scale: 1, delivery: -1 },
338
338
  }),
339
339
  createTestTrack({
340
- id: "forward_deployed",
340
+ id: "forward-deployed",
341
341
  name: "Forward Deployed",
342
342
  skillModifiers: { delivery: 1, scale: -1 },
343
343
  }),
@@ -351,7 +351,7 @@ export function createTestTracks() {
351
351
  export function createTestDisciplines() {
352
352
  return [
353
353
  createTestDiscipline({
354
- id: "software_engineering",
354
+ id: "software-engineering",
355
355
  name: "Software Engineering",
356
356
  roleTitle: "Software Engineer",
357
357
  }),
@@ -396,7 +396,7 @@ export function createTestPerson(overrides = {}) {
396
396
  name: "Alice",
397
397
  email: "alice@example.com",
398
398
  level: "mid",
399
- discipline: "software_engineering",
399
+ discipline: "software-engineering",
400
400
  track: "platform",
401
401
  ...overrides,
402
402
  };