@locustjs/test 1.6.4 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/tests/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import TestRunner from "../src";
1
+ import { TestRunner } from "../src";
2
2
 
3
3
  class Foo {}
4
4
  class Bar extends Foo {}
@@ -92,10 +92,10 @@ const tests = [
92
92
  function (expect) {
93
93
  const x = 30;
94
94
 
95
- expect(x).toBeGreaterThan(20);
95
+ expect(x).toBe(20);
96
96
  },
97
97
  ],
98
- ["Test 8: not expected", function (expect) {}],
98
+ ["Test 8: expect not used", function (expect) {}],
99
99
  [
100
100
  "Test 9: error without expect",
101
101
  function (expect) {
@@ -118,4 +118,4 @@ const tests = [
118
118
  ],
119
119
  ];
120
120
 
121
- TestRunner.start(tests);
121
+ TestRunner.start(tests, true);
package/.babelrc DELETED
@@ -1,3 +0,0 @@
1
- {
2
- "presets": ["@babel/preset-env"]
3
- }