Skip to content

Commit

Permalink
update to fsrs-rs v1
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexErrant committed Jul 14, 2024
1 parent 23b581c commit 8cc3ec5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion fsrs-rs
9 changes: 5 additions & 4 deletions sandbox/tests/prod.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ test('check memory state', async ({ page }) => {
intervals: [200],
},
)
.toEqual([27, 5])
.toEqual([29, 5])
})

test('check next interval', async ({ page }) => {
Expand All @@ -26,6 +26,7 @@ test('check next interval', async ({ page }) => {
})

test('check progress and parameters', async ({ page }) => {
test.setTimeout(60_000)
await goHome(page)
await page.getByRole('button', { name: 'Train with example file' }).click()
let progress = await page.locator('#progressNumbers').innerText()
Expand All @@ -43,7 +44,7 @@ test('check progress and parameters', async ({ page }) => {
},
{
message: 'Progress goes up',
timeout: 20_000,
timeout: 60_000,
intervals: [200],
},
)
Expand All @@ -59,9 +60,9 @@ test('check progress and parameters', async ({ page }) => {
return parameters.split(',').length
},
{
timeout: 20_000,
timeout: 60_000,
intervals: [200],
},
)
.toEqual(17)
.toEqual(19)
})

0 comments on commit 8cc3ec5

Please sign in to comment.