as-test 0.1.3 → 0.1.4

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/CHANGELOG.md CHANGED
@@ -10,4 +10,5 @@ v0.0.9 - Fix type issue
10
10
 
11
11
  v0.1.0 - Fix more type issues
12
12
  v0.1.1 - Add code coverage!
13
- v0.1.2 - Fix bugs with globals and dependencies
13
+ v0.1.2 - Fix bugs with globals and dependencies
14
+ v0.1.3 - Revamp `log<T>(data: T)` with new as-console version
package/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  | _ || __| ___|_ _|| __|| __||_ _|
4
4
  | ||__ ||___| | | | __||__ | | |
5
5
  |__|__||_____| |_| |_____||_____| |_|
6
- v0.1.3
6
+ v0.1.4
7
7
  </pre>
8
8
  </h5>
9
9
 
package/assembly/index.ts CHANGED
@@ -2,8 +2,8 @@ import { rainbow } from "as-rainbow";
2
2
  import { TestGroup } from "./src/group";
3
3
  import { Expectation } from "./src/expectation";
4
4
  import { formatTime } from "./util";
5
- import { stringify } from "as-console/assembly";
6
- import { CoverPoint, __COVER, __HASHES, __POINTS } from "as-test/assembly/coverage";
5
+ import { stringify } from "as-console/stringify";
6
+ import { __COVER, __HASHES, __POINTS } from "as-test/assembly/coverage";
7
7
  import { createTable } from "table-as";
8
8
 
9
9
  /**
@@ -214,7 +214,7 @@ export function run(options: RunOptions = new RunOptions()): void {
214
214
  console.log(rainbow.boldMk(rainbow.blueBright(`| _ || __| ___|_ _|| __|| __||_ _|`)));
215
215
  console.log(rainbow.boldMk(rainbow.blueBright(`| ||__ ||___| | | | __||__ | | | `)));
216
216
  console.log(rainbow.boldMk(rainbow.blueBright(`|__|__||_____| |_| |_____||_____| |_| `)));
217
- console.log(rainbow.dimMk("\n------------------- v0.1.3 -------------------\n"));
217
+ console.log(rainbow.dimMk("\n------------------- v0.1.4 -------------------\n"));
218
218
  if (options.coverage) {
219
219
  console.log(rainbow.bgBlueBright(" PLUGIN ") + " " + rainbow.dimMk("Using Code Coverage") + "\n");
220
220
  }
@@ -291,7 +291,6 @@ export function run(options: RunOptions = new RunOptions()): void {
291
291
  if (options.coverage) console.log(rainbow.boldMk("Coverage: ") + (__HASHES().size ? rainbow.boldMk(rainbow.red(__HASHES().size.toString() + " failed")) : rainbow.boldMk(rainbow.green("0 failed"))) + ", " + __POINTS().toString() + " total");
292
292
  console.log(rainbow.boldMk("Snapshots: ") + "0 total");
293
293
  console.log(rainbow.boldMk("Time: ") + formatTime(ms));
294
- __COVER("joe mom")
295
294
  if (failed) {
296
295
  process.exit(1);
297
296
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "as-test",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "Testing framework for AssemblyScript. Compatible with WASI or Bindings ",
5
5
  "types": "assembly/index.ts",
6
6
  "author": "Jairus Tanaka",
@@ -17,15 +17,15 @@
17
17
  "as-test": "./",
18
18
  "@assemblyscript/wasi-shim": "^0.1.0",
19
19
  "@types/micromatch": "^4.0.7",
20
- "assemblyscript": "^0.27.22",
20
+ "assemblyscript": "^0.27.28",
21
21
  "assemblyscript-prettier": "^3.0.1",
22
22
  "jest": "^29.7.0",
23
- "typescript": "^5.3.3",
23
+ "typescript": "^5.5.2",
24
24
  "visitor-as": "^0.11.4",
25
- "json-as": "^0.9.6"
25
+ "json-as": "^0.9.8"
26
26
  },
27
27
  "dependencies": {
28
- "as-console": "^6.0.2",
28
+ "as-console": "^1.0.1",
29
29
  "as-rainbow": "^0.1.0",
30
30
  "as-string-sink": "^0.5.3",
31
31
  "as-variant": "^0.4.1",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@as-test/transform",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "Testing framework for AssemblyScript. Compatible with WASI or Bindings ",
5
5
  "main": "./lib/index.js",
6
6
  "author": "Jairus Tanaka",