Skip to content

Commit

Permalink
Add lint tests that should fail (#28147)
Browse files Browse the repository at this point in the history
These though fail.

Anon default export: #21181
Promise callbacks: #26186
Returning anon functions: #22520

DiffTrain build for commit cc7d421.
  • Loading branch information
rickhanlonii committed Jan 29, 2024
1 parent 272139f commit 3789d11
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25607,7 +25607,7 @@ if (__DEV__) {
return root;
}

var ReactVersion = "18.3.0-canary-971b62f47-20240129";
var ReactVersion = "18.3.0-canary-cc7d42162-20240129";

// Might add PROFILE later.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9149,7 +9149,7 @@ var devToolsConfig$jscomp$inline_1029 = {
throw Error("TestRenderer does not support findFiberByHostInstance()");
},
bundleType: 0,
version: "18.3.0-canary-971b62f47-20240129",
version: "18.3.0-canary-cc7d42162-20240129",
rendererPackageName: "react-test-renderer"
};
var internals$jscomp$inline_1205 = {
Expand Down Expand Up @@ -9180,7 +9180,7 @@ var internals$jscomp$inline_1205 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-canary-971b62f47-20240129"
reconcilerVersion: "18.3.0-canary-cc7d42162-20240129"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1206 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9577,7 +9577,7 @@ var devToolsConfig$jscomp$inline_1071 = {
throw Error("TestRenderer does not support findFiberByHostInstance()");
},
bundleType: 0,
version: "18.3.0-canary-971b62f47-20240129",
version: "18.3.0-canary-cc7d42162-20240129",
rendererPackageName: "react-test-renderer"
};
var internals$jscomp$inline_1246 = {
Expand Down Expand Up @@ -9608,7 +9608,7 @@ var internals$jscomp$inline_1246 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-canary-971b62f47-20240129"
reconcilerVersion: "18.3.0-canary-cc7d42162-20240129"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1247 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ if (__DEV__) {
) {
__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
}
var ReactVersion = "18.3.0-canary-971b62f47-20240129";
var ReactVersion = "18.3.0-canary-cc7d42162-20240129";

// ATTENTION
// When adding new symbols to this file,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -545,4 +545,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactCurrentDispatcher.current.useTransition();
};
exports.version = "18.3.0-canary-971b62f47-20240129";
exports.version = "18.3.0-canary-cc7d42162-20240129";
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactCurrentDispatcher.current.useTransition();
};
exports.version = "18.3.0-canary-971b62f47-20240129";
exports.version = "18.3.0-canary-cc7d42162-20240129";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
971b62f479a5dbd84688ba2b2c507de2a1d22dcc
cc7d4216299e1d23a6e77b58d4c32ec1b8864ead

0 comments on commit 3789d11

Please sign in to comment.