Merge pull request #1341 from rainlanguage/2025-02-18-any-functions #2080
Annotations
2 errors
src/__tests__/LightweightChart.test.ts > setTimeScale is called correctly:
packages/ui-components/src/__tests__/LightweightChart.test.ts#L219
AssertionError: expected "spy" to be called with arguments: [ Array(1) ]
Received:
1st spy call:
Array [
Object {
- "from": 1737371273,
- "to": 1739963273,
+ "from": 1708427272,
+ "to": 1739963272,
},
]
2nd spy call:
Array [
Object {
- "from": 1737371273,
- "to": 1739963273,
+ "from": 1708427272,
+ "to": 1739963272,
},
]
3rd spy call:
Array [
Object {
- "from": 1737371273,
- "to": 1739963273,
+ "from": 1708427272,
+ "to": 1739963272,
},
]
4th spy call:
Array [
Object {
- "from": 1737371273,
- "to": 1739963273,
+ "from": 1708427272,
+ "to": 1739963272,
},
]
5th spy call:
Array [
Object {
- "from": 1737371273,
- "to": 1739963273,
+ "from": 1708427272,
+ "to": 1739963272,
},
]
6th spy call:
Array [
Object {
- "from": 1737371273,
- "to": 1739963273,
+ "from": 1708427272,
+ "to": 1739963272,
},
]
7th spy call:
Array [
Object {
- "from": 1737371273,
- "to": 1739963273,
+ "from": 1708427272,
+ "to": 1739963272,
},
]
8th spy call:
Array [
Object {
- "from": 1737371273,
- "to": 1739963273,
+ "from": 1737371272,
+ "to": 1739963272,
},
]
Number of calls: 8
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<div
class="flex h-full flex-col overflow-hidden rounded-lg border bg-gray-50 dark:border-none dark:bg-gray-700"
>
<div
class="flex w-full justify-between border-b p-3 pb-0 dark:border-gray-700"
>
<div
class="text-gray-900 dark:text-white"
>
<div
class="mb-2 text-xl"
data-testid="lightweightChartTitle"
>
test title
</div>
</div>
<div>
<div
class="inline-flex rounded-lg shadow-sm bg-gray-800"
data-testid="lightweightChartYearButtons"
role="group"
>
<button
active="false"
class="text-center font-medium focus-within:ring-2 focus-within:z-10 inline-flex items-center justify-center text-xs text-gray-900 bg-white border border-gray-200 hover:bg-gray-100 hover:text-primary-700 focus-within:text-primary-700 dark:focus-within:text-white dark:hover:text-white dark:bg-gray-700 dark:text-white dark:border-gray-700 dark:hover:border-gray-600 dark:hover:bg-gray-600 focus-within:ring-gray-200 dark:focus-within:ring-gray-700 border-s-0 first:border-s first:rounded-s-lg last:rounded-e-lg px-2 py-1"
type="button"
>
1 Year
</button>
<button
active="true"
class="text-center font-medium focus-within:ring-2 focus-within:z-10 inline-flex items-center justify-center text-xs text-gray-900 bg-white border border-gray-200 hover:bg-gray-100 hover:text-primary-700 focus-within:text-primary-700 dark:focus-within:text-white dark:hover:text-white dark:bg-gray-700 dark:text-white dark:border-gray-700 dark:hover:border-gray-600 dark:hover:bg-gray-600 focus-within:ring-gray-200 dark:focus-within:ring-gray-700 border-s-0 first:border-s first:rounded-s-lg last:rounded-e-lg cursor-not-allowed opacity-50 px-2 py-1"
disabled=""
type="button"
>
30 Days
</button>
<button
active="false"
class="text-center font-medium focus-within:ring-2 focus-within:z-10 inline-flex items-center justify-center text-xs text-gray-900 bg-white border border-gray-200 hover:bg-gray-100 hover:text-primary-700 focus-within:text-primary-700 dark:focus-within:text-white dark:hover:text-white dark:bg-gray-700 dark:text-white dark:border-gray-700 dark:hover:border-gray-600 dark:hover:bg-gray-600 focus-within:ring-gray-200 dar
|
test
Process completed with exit code 1.
|