Skip to content

Commit

Permalink
Upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlo Dapor committed Dec 9, 2023
1 parent f07a091 commit 9fed11c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
3 changes: 2 additions & 1 deletion src/Astro.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1413,7 +1413,8 @@ function moonRise(rataDie: number, location: Location): number {
(low: number, high: number): boolean => observedLunarAltitude((high + low) / 2, location) > 0,
);

return moment < tee + 1 ? Math.max(universalToStandard(moment, location), rataDie) : -1;
//return moment < tee + 1 ? Math.max(universalToStandard(moment, location), rataDie) : -1;
return Math.max(universalToStandard(moment, location), rataDie);
}

/**
Expand Down
16 changes: 6 additions & 10 deletions vitest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,8 @@ export default mergeConfig(
test: {
globals: true,
environment: 'happy-dom',
exclude: [
'.barro.config.cjs',
'node_modules/**',
'**/tests/e2e/**',
'src/create-dist-package.json.js',
'src/**/index.ts',
include: [
'src/spec/**/*.test.ts',
],
coverage: {
provider: 'v8',
Expand All @@ -23,12 +19,12 @@ export default mergeConfig(
'text',
],
exclude: [
'.barro.config.cjs',
'node_modules/**',
'**/tests/e2e/**',
'src/create-dist-package.json.js',
'src/spec/**',
'src/**/index.ts',
],
include: [
'src/**/*.ts',
],
reportsDirectory: 'tmp/reports',
branches: 99.9,
functions: 100,
Expand Down

0 comments on commit 9fed11c

Please sign in to comment.