Skip to content

Commit

Permalink
chore(tests): implement review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielMSchmidt committed Nov 3, 2021
1 parent 1e1f54b commit e8d6d71
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test-helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const path = require("path");
const fs = require("fs");
const fse = require("fs-extra");

class Query {
class QueryableStack {
private readonly stack: Record<string, any>;
constructor(stackInput: string) {
this.stack = JSON.parse(stackInput);
Expand Down Expand Up @@ -124,7 +124,7 @@ export class TestDriver {
};

synthesizedStack = (stackName: string) => {
return new Query(
return new QueryableStack(
fs.readFileSync(
path.join(this.stackDirectory(stackName), "cdk.tf.json"),
"utf-8"
Expand Down
1 change: 1 addition & 0 deletions test/typescript/providers/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ describe("full integration test", () => {
});

// The necessary functions are exposed, but currently do not work
// See https://github.com/hashicorp/terraform-cdk/issues/1246
describe.skip("single-item nesting", () => {
let deployment;
beforeAll(() => {
Expand Down

0 comments on commit e8d6d71

Please sign in to comment.