@universal-packages/workflows-jest 1.1.1 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +6 -8
- package/globals.d.ts +6 -6
- package/index.js +11 -44
- package/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
@@ -29,8 +29,6 @@ module.exports = {
|
|
29
29
|
### toHaveFinishWithStatus
|
30
30
|
|
31
31
|
```js
|
32
|
-
import { Workflows } from '@universal-packages/workflows'
|
33
|
-
|
34
32
|
it('should be successful', async () => {
|
35
33
|
const workflow = await workflowsJest.run('my-workflow')
|
36
34
|
|
@@ -59,22 +57,22 @@ import { runApp } from './src'
|
|
59
57
|
|
60
58
|
workflowsJest.mockRuns()
|
61
59
|
|
62
|
-
it('should have been build and run', async () => {
|
60
|
+
it('should have been build and run with variables', async () => {
|
63
61
|
await runApp({ development: true, fast: true })
|
64
62
|
|
65
63
|
expect('development-workflow').toHaveBeenBuildAndRunWithVariables({ fast: true })
|
66
64
|
})
|
67
65
|
```
|
68
66
|
|
69
|
-
###
|
67
|
+
### getCommandHistory
|
70
68
|
|
71
69
|
```js
|
72
|
-
|
70
|
+
it('should be ran commands', async () => {
|
71
|
+
await workflowsJest.run('my-workflow')
|
73
72
|
|
74
|
-
|
75
|
-
const workflow = await workflowsJest.run('my-workflow')
|
73
|
+
const commandHistory = workflowsJest.getCommandHistory()
|
76
74
|
|
77
|
-
expect(
|
75
|
+
expect(commandHistory).toEqual([
|
78
76
|
{ command: 'git pull', workingDirectory: './my-repo' },
|
79
77
|
{ command: 'npm install', workingDirectory: './my-repo' }
|
80
78
|
])
|
package/globals.d.ts
CHANGED
@@ -5,16 +5,12 @@ interface ProcessMockDescriptor {
|
|
5
5
|
workingDirectory?: string;
|
6
6
|
result: string;
|
7
7
|
}
|
8
|
-
export interface ProcessCommandEntry {
|
9
|
-
command: string;
|
10
|
-
env?: Record<string, string>;
|
11
|
-
workingDirectory?: string;
|
12
|
-
}
|
13
8
|
interface WorkflowJestRunOptions extends BuildFromOptions {
|
14
9
|
targetMockResults?: ProcessMockDescriptor[];
|
15
10
|
}
|
16
11
|
declare global {
|
17
12
|
namespace workflowsJest {
|
13
|
+
function getCommandHistory(): ProcessCommandEntry[];
|
18
14
|
function run(name: string, options?: WorkflowJestRunOptions): Promise<Workflow>;
|
19
15
|
function mockRuns(): void;
|
20
16
|
}
|
@@ -23,8 +19,12 @@ declare global {
|
|
23
19
|
toHaveBeenBuildAndRun(): R;
|
24
20
|
toHaveBeenBuildAndRunWithVariables(variables: Record<string, any>): R;
|
25
21
|
toHaveFinishWithStatus(status: Status): R;
|
26
|
-
toHaveRanCommands(commands: ProcessCommandEntry[]): R;
|
27
22
|
}
|
28
23
|
}
|
29
24
|
}
|
25
|
+
export interface ProcessCommandEntry {
|
26
|
+
command: string;
|
27
|
+
env?: Record<string, string>;
|
28
|
+
workingDirectory?: string;
|
29
|
+
}
|
30
30
|
export {};
|
package/index.js
CHANGED
@@ -13,6 +13,16 @@ const WORKFLOWS_JEST = {
|
|
13
13
|
ranMockedWorkflows: []
|
14
14
|
};
|
15
15
|
global.workflowsJest = {
|
16
|
+
getCommandHistory: () => {
|
17
|
+
return sub_process_1.TestEngine.commandHistory.map((processEntry) => {
|
18
|
+
const result = { command: processEntry.command + (processEntry.args.length > 0 ? ' ' + processEntry.args.join(' ') : '') };
|
19
|
+
if (Object.keys(processEntry.env).length > 0)
|
20
|
+
result['env'] = processEntry.env;
|
21
|
+
if (processEntry.workingDirectory)
|
22
|
+
result['workingDirectory'] = processEntry.workingDirectory;
|
23
|
+
return result;
|
24
|
+
});
|
25
|
+
},
|
16
26
|
run: async (name, options) => {
|
17
27
|
if (options?.targetMockResults) {
|
18
28
|
const { targetMockResults } = options;
|
@@ -119,52 +129,9 @@ function toHaveBeenBuildAndRunWithVariables(workflow, variables) {
|
|
119
129
|
}
|
120
130
|
}
|
121
131
|
}
|
122
|
-
function toHaveRanCommands(workflow, processCommandEntries) {
|
123
|
-
const pass = sub_process_1.TestEngine.commandHistory.every((processEntry, index) => {
|
124
|
-
const processCommandEntry = processCommandEntries[index];
|
125
|
-
if (processCommandEntry) {
|
126
|
-
const commandParts = processCommandEntry.command.split(' ');
|
127
|
-
const actualCommand = commandParts[0];
|
128
|
-
const actualArgs = commandParts.slice(1);
|
129
|
-
return (this.equals(actualCommand, processEntry.command) &&
|
130
|
-
this.equals(actualArgs, processEntry.args) &&
|
131
|
-
this.equals(processCommandEntry.env || {}, processEntry.env) &&
|
132
|
-
this.equals(processCommandEntry.workingDirectory, processEntry.workingDirectory));
|
133
|
-
}
|
134
|
-
return false;
|
135
|
-
});
|
136
|
-
if (pass) {
|
137
|
-
return {
|
138
|
-
message: () => `expected "${workflow.name || 'Workflow'}" not to have ran provided commands, but it did exactly that`,
|
139
|
-
pass
|
140
|
-
};
|
141
|
-
}
|
142
|
-
else {
|
143
|
-
const generatedFromHistory = sub_process_1.TestEngine.commandHistory.map((processEntry) => {
|
144
|
-
return {
|
145
|
-
command: processEntry.command + (processEntry.args.length > 0 ? ' ' + processEntry.args.join(' ') : ''),
|
146
|
-
env: processEntry.env,
|
147
|
-
workingDirectory: processEntry.workingDirectory
|
148
|
-
};
|
149
|
-
});
|
150
|
-
const generatedFromEntries = processCommandEntries.map((processCommandEntry) => {
|
151
|
-
return {
|
152
|
-
command: processCommandEntry.command,
|
153
|
-
env: processCommandEntry.env || {},
|
154
|
-
workingDirectory: processCommandEntry.workingDirectory
|
155
|
-
};
|
156
|
-
});
|
157
|
-
const commandsToPrint = this.utils.diff(generatedFromHistory, generatedFromEntries);
|
158
|
-
return {
|
159
|
-
message: () => `expected "${workflow.name || 'Workflow'}" to have ran provided commands, but it did not\n\nCommands have discrepancies:\n\n${commandsToPrint}`,
|
160
|
-
pass
|
161
|
-
};
|
162
|
-
}
|
163
|
-
}
|
164
132
|
globals_1.expect.extend({
|
165
133
|
toHaveBeenBuildAndRun,
|
166
134
|
toHaveBeenBuildAndRunWithVariables,
|
167
|
-
toHaveFinishWithStatus
|
168
|
-
toHaveRanCommands
|
135
|
+
toHaveFinishWithStatus
|
169
136
|
});
|
170
137
|
//# sourceMappingURL=index.js.map
|
package/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;AAAA,2CAAsC;AACtC,iEAA4D;AAC5D,6DAAkF;AAClF,oDAAiC;AAEjC,qBAAkB;AAGlB,MAAM,cAAc,GAAG;IACrB,MAAM,EAAE,KAAK;IACb,kBAAkB,EAAE,EAAE;CACvB,CAAA;AAED,MAAM,CAAC,aAAa,GAAG;IACrB,GAAG,EAAE,KAAK,EAAE,IAAY,EAAE,OAAQ,EAAqB,EAAE;QACvD,IAAI,OAAO,EAAE,iBAAiB,EAAE;YAC9B,MAAM,EAAE,iBAAiB,EAAE,GAAG,OAAO,CAAA;YAErC,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,iBAAiB,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;gBACjD,MAAM,uBAAuB,GAAG,iBAAiB,CAAC,CAAC,CAAC,CAAA;gBACpD,MAAM,YAAY,GAAG,uBAAuB,CAAC,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAA;gBAC/D,MAAM,aAAa,GAAG,YAAY,CAAC,CAAC,CAAC,CAAA;gBACrC,MAAM,UAAU,GAAG,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC,CAAA;gBAExC,wBAAU,CAAC,iBAAiB,CAAC;oBAC3B,OAAO,EAAE,aAAa;oBACtB,IAAI,EAAE,UAAU;oBAChB,GAAG,EAAE,uBAAuB,CAAC,GAAG;oBAChC,gBAAgB,EAAE,uBAAuB,CAAC,gBAAgB;oBAC1D,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,uBAAuB,CAAC,MAAM,EAAE,CAAC;iBACnE,CAAC,CAAA;aACH;SACF;QAED,MAAM,QAAQ,GAAG,oBAAQ,CAAC,SAAS,CAAC,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E;YAC7B,OAAO;gBACL,OAAO,EAAE,GAAG,EAAE,CAAC,aAAa,QAAQ,+CAA+C,IAAI,CAAC,KAAK,CAAC,aAAa,CAAC,SAAS,CAAC,uCAAuC;gBAC7J,IAAI;aACL,CAAA;SACF;aAAM;YACL,OAAO;gBACL,OAAO,EAAE,GAAG,EAAE,CAAC,aAAa,QAAQ,+CAA+C,IAAI,CAAC,KAAK,CAAC,aAAa,CAAC,SAAS,CAAC,kBAAkB;gBACxI,IAAI;aACL,CAAA;SACF;KACF;AACH,CAAC;AAED,gBAAM,CAAC,MAAM,CAAC;IACZ,qBAAqB;IACrB,kCAAkC;IAClC,sBAAsB;CACvB,CAAC,CAAA"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@universal-packages/workflows-jest",
|
3
|
-
"version": "1.
|
3
|
+
"version": "1.2.0",
|
4
4
|
"description": "Jest matchers for universal workflows",
|
5
5
|
"author": "David De Anda <david@universal-packages.com> (https://github.com/universal-packages)",
|
6
6
|
"license": "MIT",
|