mirror of
				https://github.com/Xahau/xahau.js.git
				synced 2025-11-04 04:55:48 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			21 lines
		
	
	
		
			468 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			468 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
const { TextDecoder, TextEncoder } = require("util");
 | 
						|
 | 
						|
module.exports = {
 | 
						|
  roots: ["<rootDir>/src"],
 | 
						|
  transform: {
 | 
						|
    "^.+\\.ts$": "ts-jest",
 | 
						|
  },
 | 
						|
  moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"],
 | 
						|
  collectCoverage: true,
 | 
						|
  verbose: true,
 | 
						|
  testEnvironment: "node",
 | 
						|
  globals: {
 | 
						|
    TextDecoder: TextDecoder,
 | 
						|
    TextEncoder: TextEncoder,
 | 
						|
    error: console.error,
 | 
						|
    warn: console.warn,
 | 
						|
    info: console.info,
 | 
						|
    debug: console.debug,
 | 
						|
  },
 | 
						|
};
 |