We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9fa920 commit d663d71Copy full SHA for d663d71
scripts/run-ci-javascript-tests.js
@@ -56,6 +56,15 @@ try {
56
throw Error(exitCode);
57
}
58
59
+ describe('Test: Validate JS API snapshot');
60
+ if (exec(`${YARN_BINARY} run build-types --withSnapshot --validate`).code) {
61
+ echo(
62
+ 'JS API snapshot validation failed. Please run `yarn build-types --withSnapshot` to update the snapshot.',
63
+ );
64
+ exitCode = 1;
65
+ throw Error(exitCode);
66
+ }
67
+
68
describe('Test: Flow check');
69
const flowCommand =
70
FLOW_BINARY == null
0 commit comments