test: add fast api tests for getLibuvNow() · nodejs/node@3d34c5f · GitHub
Skip to content

Commit 3d34c5f

Browse files
anonrigRafaelGSS
authored andcommitted
test: add fast api tests for getLibuvNow()
PR-URL: #58022 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br>
1 parent 4e02f23 commit 3d34c5f

3 files changed

Lines changed: 26 additions & 7 deletions

File tree

src/timers.cc

Lines changed: 4 additions & 2 deletions

src/timers.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ class BindingData : public SnapshotableObject {
2626
static void SetupTimers(const v8::FunctionCallbackInfo<v8::Value>& args);
2727

2828
static void SlowGetLibuvNow(const v8::FunctionCallbackInfo<v8::Value>& args);
29-
static double FastGetLibuvNow(v8::Local<v8::Object> unused,
30-
v8::Local<v8::Object> receiver);
29+
static double FastGetLibuvNow(v8::Local<v8::Value> receiver);
3130
static double GetLibuvNowImpl(BindingData* data);
3231

3332
static void SlowScheduleTimer(

test/parallel/test-timers-now.js

Lines changed: 21 additions & 3 deletions

0 commit comments

Comments
 (0)