mirror of
https://github.com/Instadapp/Swap-Aggregator-Subgraph.git
synced 2024-07-29 21:57:12 +00:00
12 lines
356 B
TypeScript
12 lines
356 B
TypeScript
import * as fsNode from "fs";
|
|
import { expect } from "chai";
|
|
const fs: any = require("../../lib/utils/fs");
|
|
|
|
describe("promised fs", () => {
|
|
it("contains all the same keys as the node fs module", () => {
|
|
const originalKeys = Object.keys(fsNode);
|
|
const adaptedKeys = Object.keys(fs);
|
|
expect(adaptedKeys).to.deep.equal(originalKeys);
|
|
});
|
|
});
|