Skip to content

Commit 357d385

Browse files
committed
fix: Removed modify plan
1 parent bfe16eb commit 357d385

2 files changed

Lines changed: 1 addition & 12 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "codify-plugin-test",
3-
"version": "0.0.31",
3+
"version": "0.0.32",
44
"description": "",
55
"main": "dist/index.js",
66
"typings": "dist/index.d.ts",

src/plugin-tester.ts

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -115,20 +115,9 @@ export class PluginTester {
115115
}
116116

117117
const importResults = [];
118-
const unsuccessfulImports = [];
119118
for (const config of configs) {
120119
const importResult = await this.import({ config })
121120
importResults.push(importResult);
122-
123-
const validationPlan = await this.plan({ desired: importResult.result[0], isStateful: false, state: undefined });
124-
if (validationPlan.operation !== ResourceOperation.NOOP) {
125-
unsuccessfulImports.push(importResult);
126-
}
127-
}
128-
129-
if (unsuccessfulImports.length > 0) {
130-
throw new Error(`The following imports were not successful. The imports differed from the original.
131-
${JSON.stringify(unsuccessfulImports, null, 2)}`);
132121
}
133122

134123
if (options?.validateImport) {

0 commit comments

Comments
 (0)