GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — CustomDCBot/jest.config.js at main · ScootKit/CustomDCBot

Expand file tree

/

jest.config.js

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
21 lines (21 loc) · 904 Bytes
/

jest.config.js

Copy path

File metadata and controls

21 lines (21 loc) · 904 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
module.exports = {
testEnvironment: 'node',
testMatch: ['**/tests/**/*.test.js'],
rootDir: '.',
// On low-core CI runners Jest uses few workers, so one worker can run many
// suites back-to-back and accumulate heap until it OOMs. Recycle a worker
// once it grows past this limit to keep memory bounded.
workerIdleMemoryLimit: '768MB',
setupFiles: ['<rootDir>/src/discordjs-fix.js'],
// Coverage targets the real runtime logic under src/. discordjs-fix.js is a load-time
// monkey-patch shim for discord.js and is excluded.
collectCoverageFrom: [
'src/**/*.js',
'!src/discordjs-fix.js'
],
moduleNameMapper: {
'^(?:\\.{1,2}/)+main$': '<rootDir>/tests/__stubs__/main.js',
'(?:^|/)src/functions/localize$': '<rootDir>/tests/__stubs__/localize.js',
'^\\./localize$': '<rootDir>/tests/__stubs__/localize.js'
}
};
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.