@tamagui/start-transition
Advanced tools
Comparing version 1.113.1 to 1.113.2
import "react"; | ||
var startTransition = function (callback) { | ||
var startTransition = function(callback) { | ||
callback(); | ||
}; | ||
export { startTransition }; | ||
//# sourceMappingURL=index.native.js.map | ||
export { | ||
startTransition | ||
}; | ||
//# sourceMappingURL=index.js.map |
@@ -1,8 +0,8 @@ | ||
import { startTransition } from "./index.native.js"; | ||
describe("startTransition", function () { | ||
it("should call the callback directly if TAMAGUI_TARGET is not web", function () { | ||
import { startTransition } from "./index"; | ||
describe("startTransition", function() { | ||
it("should call the callback directly if TAMAGUI_TARGET is not web", function() { | ||
process.env.TAMAGUI_TARGET = "native"; | ||
var callback = jest.fn(); | ||
startTransition(callback), expect(callback).toHaveBeenCalled(); | ||
}), it("should proxy to react.startTransition if TAMAGUI_TARGET is web", function () { | ||
}), it("should proxy to react.startTransition if TAMAGUI_TARGET is web", function() { | ||
process.env.TAMAGUI_TARGET = "web"; | ||
@@ -13,2 +13,2 @@ var callback = jest.fn(); | ||
}); | ||
//# sourceMappingURL=index.test.native.js.map | ||
//# sourceMappingURL=index.test.js.map |
{ | ||
"name": "@tamagui/start-transition", | ||
"version": "1.113.1", | ||
"version": "1.113.2", | ||
"source": "src/index.ts", | ||
@@ -26,3 +26,3 @@ "license": "MIT", | ||
"devDependencies": { | ||
"@tamagui/build": "1.113.1" | ||
"@tamagui/build": "1.113.2" | ||
}, | ||
@@ -29,0 +29,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
167
12749