Skip to content
Snippets Groups Projects
Commit a3243de3 authored by Jens Nolte's avatar Jens Nolte
Browse files

Disable tests for removed code

parent e06ed75e
No related merge requests found
Pipeline #2524 passed
...@@ -31,7 +31,7 @@ spec = parallel $ do ...@@ -31,7 +31,7 @@ spec = parallel $ do
(retrieve om >>= await) `shouldReturnM` HM.fromList [("key", "value"), ("key2", "value2")] (retrieve om >>= await) `shouldReturnM` HM.fromList [("key", "value"), ("key2", "value2")]
describe "subscribe" $ do describe "subscribe" $ do
it "calls the callback with the contents of the map" $ io $ withRootResourceManager do xit "calls the callback with the contents of the map" $ io $ withRootResourceManager do
lastCallbackValue <- liftIO $ newIORef unreachableCodePath lastCallbackValue <- liftIO $ newIORef unreachableCodePath
om :: OM.ObservableHashMap String String <- OM.new om :: OM.ObservableHashMap String String <- OM.new
...@@ -86,7 +86,7 @@ spec = parallel $ do ...@@ -86,7 +86,7 @@ spec = parallel $ do
(retrieve om >>= await) `shouldReturnM` HM.singleton "key3" "value3" (retrieve om >>= await) `shouldReturnM` HM.singleton "key3" "value3"
describe "observeKey" $ do describe "observeKey" $ do
it "calls key callbacks with the correct value" $ io $ withRootResourceManager do xit "calls key callbacks with the correct value" $ io $ withRootResourceManager do
value1 <- liftIO $ newIORef undefined value1 <- liftIO $ newIORef undefined
value2 <- liftIO $ newIORef undefined value2 <- liftIO $ newIORef undefined
......
...@@ -33,7 +33,7 @@ spec = do ...@@ -33,7 +33,7 @@ spec = do
(retrieve op >>= await) `shouldReturnM` Just "p1" (retrieve op >>= await) `shouldReturnM` Just "p1"
dispose p1 dispose p1
(retrieve op >>= await) `shouldReturnM` Nothing (retrieve op >>= await) `shouldReturnM` Nothing
it "sends updates when its value changes" $ io $ withRootResourceManager do xit "sends updates when its value changes" $ io $ withRootResourceManager do
result <- liftIO $ newIORef [] result <- liftIO $ newIORef []
let mostRecentShouldBe expected = liftIO do let mostRecentShouldBe expected = liftIO do
(ObservableUpdate x) <- (head <$> readIORef result) (ObservableUpdate x) <- (head <$> readIORef result)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment