Skip to content

Commit

Permalink
fix test util
Browse files Browse the repository at this point in the history
  • Loading branch information
Xintong Xia committed Mar 15, 2019
1 parent eae5ed0 commit 9d1e67b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/test-utils/src/generate-layer-tests.js
Expand Up @@ -98,9 +98,10 @@ export function generateLayerTests({
testCases.forEach(testCase => {
testCase.title = wrapTestCaseTitle(testCase.title);
testCase.onBeforeUpdate = onBeforeUpdate;
testCases.onAfterUpdate = _onAfterUpdate;
});

testCases[2].onAfterUpdate = _onAfterUpdate;

return testCases;
}

Expand Down

0 comments on commit 9d1e67b

Please sign in to comment.