check if file exists

This commit is contained in:
Evgeny Poberezkin
2022-11-03 09:26:13 +00:00
parent 2d9643cad2
commit d1e6c0fd0c
+1 -1
View File
@@ -43,7 +43,7 @@ removeFileIfExists filePath = do
notificationTests :: ATransport -> Spec
notificationTests t =
after_ (removeFile (databaseFile testDB) >> removeFileIfExists (databaseFile testDB2)) $ do
after_ (removeFileIfExists (databaseFile testDB) >> removeFileIfExists (databaseFile testDB2)) $ do
describe "Managing notification tokens" $ do
it "should register and verify notification token" $
withAPNSMockServer $ \apns ->