Skip to content

Commit

Permalink
fix: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
BelfordZ committed May 2, 2019
1 parent f917075 commit 96b9bd9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import clientGen from "./";
import fs from "fs";
import fsx from "fs-extra";
import fsx, { emptyDir } from "fs-extra";
import examples from "@open-rpc/examples";
import { promisify } from "util";
import { forEach } from "lodash";
Expand All @@ -17,10 +17,10 @@ describe(`Examples to generate Js clients`, () => {
await emptyDir(testDir);
});

// afterAll(async () => {
// await fsx.emptyDir(testDir);
// return await rmdir(testDir);
// });
afterAll(async () => {
await fsx.emptyDir(testDir);
return await rmdir(testDir);
});

forEach(examples, (example: OpenRPC, exampleName: string) => {
it(`creates a new client for example: ${exampleName}`, async () => {
Expand Down

0 comments on commit 96b9bd9

Please sign in to comment.