We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 426c5d3 commit f9584deCopy full SHA for f9584de
test.js
@@ -1,9 +1,7 @@
1
-'use strict';
2
-var test = require('ava');
3
-var winRelease = require('./');
+import test from 'ava';
+import fn from './';
4
5
-test(function (t) {
6
- t.is(winRelease('5.1.2600'), 'XP');
7
- t.is(winRelease('10.0.10240'), '10');
8
- t.end();
+test(t => {
+ t.is(fn('5.1.2600'), 'XP');
+ t.is(fn('10.0.10240'), '10');
9
});
0 commit comments