Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.

Commit 49ad21e

Browse files
committed
test: Use equal and snapshot temporarily
1 parent 2ca9cc9 commit 49ad21e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/TestCases.test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ describe("TestCases", function() {
3434
require(testFile)(suite);
3535
var expectedDirectory = path.join(testDirectory, "expected");
3636
fs.readdirSync(expectedDirectory).forEach(function(file) {
37+
var filePath = path.join(expectedDirectory, file);
3738
var actualPath = path.join(outputDirectory, file);
39+
expect(readFileOrEmpty(actualPath)).toEqual(readFileOrEmpty(filePath));
3840
expect(readFileOrEmpty(actualPath)).toMatchSnapshot();
3941
});
4042
done();

0 commit comments

Comments
 (0)