mirror of
				https://github.com/theoludwig/eslint-config-conventions.git
				synced 2025-11-04 00:18:57 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			352 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			352 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
const tap = require('tap')
 | 
						|
 | 
						|
const config = require('../index.js')
 | 
						|
 | 
						|
const isObject = (object) => {
 | 
						|
  return typeof object === 'object' && object !== null
 | 
						|
}
 | 
						|
 | 
						|
tap.test('test basic properties of config', async (t) => {
 | 
						|
  t.ok(isObject(config.parserOptions))
 | 
						|
  t.ok(isObject(config.env))
 | 
						|
  t.ok(isObject(config.rules))
 | 
						|
  t.ok(isObject(config.overrides))
 | 
						|
})
 |