You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							19 lines
						
					
					
						
							343 B
						
					
					
				
			
		
		
	
	
							19 lines
						
					
					
						
							343 B
						
					
					
				| 'use strict'
 | |
| 
 | |
| const t = require('tap')
 | |
| const test = t.test
 | |
| 
 | |
| test('should import as default', t => {
 | |
|   t.plan(2)
 | |
|   const fastify = require('..')
 | |
|   t.ok(fastify)
 | |
|   t.equal(typeof fastify, 'function')
 | |
| })
 | |
| 
 | |
| test('should import as esm', t => {
 | |
|   t.plan(2)
 | |
|   const { fastify } = require('..')
 | |
|   t.ok(fastify)
 | |
|   t.equal(typeof fastify, 'function')
 | |
| })
 |