Update dependencies and remove unneeded things. This allows building on node v22. Also rely on configs for eslint/prettier so CI and command line runs are guaranteed to be consistent.
This commit is contained in:
committed by
Daniël van Noord
parent
9e98208c19
commit
a1aaa3de8f
@@ -4,7 +4,7 @@ import { expect } from 'chai';
|
||||
import CalculateLuckyLevels, {
|
||||
CalculateSevenDelta,
|
||||
CountSevens,
|
||||
} from '../../src/Disp/HelperFunctions/CalculateLuckyLevels';
|
||||
} from '../../src/Disp/HelperFunctions/CalculateLuckyLevels.js';
|
||||
|
||||
describe('CountSevens', () => {
|
||||
const examples = [
|
||||
@@ -51,6 +51,7 @@ describe('CalculateLuckyLevels', () => {
|
||||
{ input: 77777, luckyDigit: 77777, luckyNumber: 77777, luckyPayout: 77777 },
|
||||
{ input: 799999, luckyDigit: 799999, luckyNumber: 800077, luckyPayout: 807777 },
|
||||
{ input: 999999, luckyDigit: 1000007, luckyNumber: 1000077, luckyPayout: 1007777 },
|
||||
/* eslint-disable no-loss-of-precision */
|
||||
{
|
||||
input: 123456789123456789,
|
||||
luckyDigit: 123456789123456789,
|
||||
@@ -63,6 +64,7 @@ describe('CalculateLuckyLevels', () => {
|
||||
luckyNumber: 8888888888889770000,
|
||||
luckyPayout: 8888888888977770000,
|
||||
},
|
||||
/* eslint-enable no-loss-of-precision */
|
||||
];
|
||||
|
||||
examples.forEach((example) => {
|
||||
|
||||
Reference in New Issue
Block a user