Skip to content
Permalink
Browse files

pr improvements

  • Loading branch information...
ThWoywod committed Apr 3, 2019
1 parent a966c98 commit c75443fc63f70e43ec36a60ea3a881fb67e966a0
Showing with 7 additions and 1 deletion.
  1. +6 −0 spec/components/root/app-generator.spec.ts
  2. +1 −1 spec/components/unifier/generator.spec.ts
@@ -26,6 +26,8 @@ interface CurrentThisContext extends ThisContext {
}>;
}

const { mkdirSync, existsSync } = fs;

describe("GeneratorApplication", function() {
beforeEach(async function(this: CurrentThisContext) {
this.specHelper.prepareSpec({});
@@ -57,6 +59,10 @@ describe("GeneratorApplication", function() {
afterEach(function() {
/** Cleanup the mocked date */
jasmine.clock().uninstall();

/** Reset fs spy objects */
(fs as any).mkdirSync = mkdirSync;
(fs as any).existsSync = existsSync;
});

describe("#execute", function() {
@@ -364,7 +364,7 @@ describe("Generator", function() {
await this.getGenerator().execute(this.params.buildDirectory);
});

it("will not permutes any custom entities", async function(this: CurrentThisContext) {
it("will not permute any custom entities", async function(this: CurrentThisContext) {
expect(this.platformGenerator.execute).toHaveBeenCalledWith(
...this.createArgumentsForExecute({
intentConfigurations: {

0 comments on commit c75443f

Please sign in to comment.
You can’t perform that action at this time.