-
-
Save evanweible-wf/fed84c33e194fccba246 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library coverage_141.browser; | |
import 'dart:html'; | |
void browserA() { | |
print('browserA'); | |
} | |
void browserB() { | |
print('browserB'); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library coverage_141.vm; | |
void vmA() { | |
print('vm a'); | |
} | |
void vmB() { | |
print('vm b'); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@TestOn('browser') | |
library coverage_141.test.browser_test; | |
import 'package:test/test.dart'; | |
import 'package:coverage_141/browser.dart'; | |
void main() { | |
test('test browserA()', () { | |
browserA(); | |
}); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="application/dart" src="browser_test.dart"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@TestOn('vm') | |
library coverage_141.test.vm_test; | |
import 'package:test/test.dart'; | |
import 'package:coverage_141/vm.dart'; | |
void main() { | |
test('test vmA()', () { | |
vmA(); | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment