1 changed files with 12 additions and 0 deletions
			
			
		@ -0,0 +1,12 @@
					 | 
				
			||||
import 'package:neon/src/platform/platform.dart'; | 
				
			||||
import 'package:test/test.dart'; | 
				
			||||
 | 
				
			||||
void main() { | 
				
			||||
  test('NeonPlatform', () async { | 
				
			||||
    expect(() => NeonPlatform.instance, throwsA(isA<StateError>())); | 
				
			||||
 | 
				
			||||
    await NeonPlatform.setup(); | 
				
			||||
 | 
				
			||||
    expect(NeonPlatform.instance, isA<NeonPlatform>()); | 
				
			||||
  }); | 
				
			||||
} | 
				
			||||
					Loading…
					
					
				
		Reference in new issue