mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +01:00 
			
		
		
		
	chore(travis) build with node 8
This commit is contained in:
		
							parent
							
								
									5ebf2e71b9
								
							
						
					
					
						commit
						6cf9c689db
					
				| @ -1,7 +1,7 @@ | ||||
| sudo: false | ||||
| language: node_js | ||||
| node_js: | ||||
| - 6 | ||||
| - 8 | ||||
| before_install: yarn global add greenkeeper-lockfile@1 | ||||
| before_script: greenkeeper-lockfile-update | ||||
| script: yarn run test:ci | ||||
|  | ||||
| @ -20,7 +20,7 @@ | ||||
|     "url": "https://github.com/finn-no/unleash/issues" | ||||
|   }, | ||||
|   "engines": { | ||||
|     "node": ">=6" | ||||
|     "node": ">=8" | ||||
|   }, | ||||
|   "license": "Apache-2.0", | ||||
|   "scripts": { | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| import { formatFullDateTime } from '../util'; | ||||
| 
 | ||||
| test('formats dates correctly', () => { | ||||
|     expect(formatFullDateTime(1487861809466)).toEqual('02/23/2017, 2:56:49 PM'); | ||||
|     expect(formatFullDateTime(1487232809466)).toEqual('02/16/2017, 8:13:29 AM'); | ||||
|     expect(formatFullDateTime(1477232809466)).toEqual('10/23/2016, 2:26:49 PM'); | ||||
|     expect(formatFullDateTime(1487861809466)).toEqual('2017-02-23 15:56:49'); | ||||
|     expect(formatFullDateTime(1487232809466)).toEqual('2017-02-16 09:13:29'); | ||||
|     expect(formatFullDateTime(1477232809466)).toEqual('2016-10-23 16:26:49'); | ||||
| }); | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user