Coder Social home page Coder Social logo

Comments (1)

StefanLobbenmeier avatar StefanLobbenmeier commented on July 1, 2024

I already fixed this, you can find the commit here. I need some help fixing the UnitTests though, as I do not fully understand the reply package. Now the Tests all call the reddit oauth with the parameter {sort: best}, but as the Unit Tests are defined for being called without this parameter, they fail.

00:00 +73 ~1 -1: lib/submission/refresh-comments-sanity [E]
Bad state: No record found for [https://oauth.reddit.com/comments/7x6ew7/, {sort: best}].
C:\lib\flutter.pub-cache\hosted\pub.dartlang.org\reply-0.1.2-dev\lib\src\recording.dart 28:5 _DefaultRecording.reply
test\test_authenticator.dart 111:27 TestAuthenticator.get
===== asynchronous gap ===========================
dart:async/future_impl.dart 22:43 _Completer.completeError
dart:async/runtime/libasync_patch.dart 43:20 _AsyncAwaitCompleter.completeError.
package:stack_trace/src/stack_zone_specification.dart 209:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 119:48 StackZoneSpecification._registerCallback.
dart:async/zone.dart 1120:38 _rootRun
dart:async/zone.dart 1021:19 _CustomZone.run
dart:async/zone.dart 923:7 _CustomZone.runGuarded
dart:async/zone.dart 963:23 _CustomZone.bindCallbackGuarded.
package:stack_trace/src/stack_zone_specification.dart 209:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 119:48 StackZoneSpecification._registerCallback.
dart:async/zone.dart 1124:13 _rootRun
dart:async/zone.dart 1021:19 _CustomZone.run
dart:async/zone.dart 923:7 _CustomZone.runGuarded
dart:async/zone.dart 963:23 _CustomZone.bindCallbackGuarded.
dart:async/schedule_microtask.dart 41:21 _microtaskLoop
dart:async/schedule_microtask.dart 50:5 _startMicrotaskLoop
dart:isolate/runtime/libtimer_impl.dart 391:30 _Timer._runTimers
dart:isolate/runtime/libtimer_impl.dart 416:5 _Timer._handleMessage
dart:isolate/runtime/libisolate_patch.dart 171:12 _RawReceivePortImpl._handleMessage
===== asynchronous gap ===========================
dart:async/zone.dart 1045:19 _CustomZone.registerCallback
dart:async/zone.dart 962:22 _CustomZone.bindCallbackGuarded
dart:async/schedule_microtask.dart 147:47 scheduleMicrotask
dart:async/runtime/libasync_patch.dart 42:7 _AsyncAwaitCompleter.completeError
test\test_authenticator.dart TestAuthenticator.get
===== asynchronous gap ===========================
dart:async/zone.dart 1053:19 _CustomZone.registerUnaryCallback
dart:async/runtime/libasync_patch.dart 77:23 _asyncThenWrapperHelper
test\submission\submission_test.dart main.
package:test_api/src/backend/declarer.dart 168:27 Declarer.test...
===== asynchronous gap ===========================
dart:async/zone.dart 1053:19 _CustomZone.registerUnaryCallback
dart:async/runtime/libasync_patch.dart 77:23 _asyncThenWrapperHelper
package:test_api/src/backend/declarer.dart Declarer.test...
package:test_api/src/backend/invoker.dart 250:15 Invoker.waitForOutstandingCallbacks.
===== asynchronous gap ===========================
dart:async/zone.dart 1045:19 _CustomZone.registerCallback
dart:async/zone.dart 962:22 _CustomZone.bindCallbackGuarded
dart:async/timer.dart 52:45 new Timer
dart:async/timer.dart 87:9 Timer.run
dart:async/future.dart 174:11 new Future
package:test_api/src/backend/invoker.dart 399:21 Invoker._onRun...

from draw.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.