@as-pect/assembly 7.0.1 → 8.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.
|
@@ -666,7 +666,7 @@ function referencesEqual<T>(
|
|
|
666
666
|
if (isNullable(left)) {
|
|
667
667
|
// @ts-ignore: __aspectStrictEquals is defined at this point
|
|
668
668
|
result = left!.__aspectStrictEquals(
|
|
669
|
-
right,
|
|
669
|
+
<Object>right,
|
|
670
670
|
stack,
|
|
671
671
|
cache,
|
|
672
672
|
[] as StaticArray<i64>,
|
|
@@ -674,7 +674,7 @@ function referencesEqual<T>(
|
|
|
674
674
|
} else {
|
|
675
675
|
// @ts-ignore: __aspectStrictEquals is defined at this point
|
|
676
676
|
result = left.__aspectStrictEquals(
|
|
677
|
-
right,
|
|
677
|
+
<Object>right, // here is the hat trick
|
|
678
678
|
stack,
|
|
679
679
|
cache,
|
|
680
680
|
[] as StaticArray<i64>,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@as-pect/assembly",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "8.0.1",
|
|
4
4
|
"description": "Write AssemblyScript tests at blazing fast speeds",
|
|
5
5
|
"types": "types/as-pect.d.ts",
|
|
6
6
|
"type": "module",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"asp:ci": "node --experimental-wasi-unstable-preview1 ../cli/lib/test.js --summary",
|
|
9
9
|
"asp": "node --experimental-wasi-unstable-preview1 ../cli/lib/test.js --verbose",
|
|
10
10
|
"test:ci": "asp --summary",
|
|
11
|
-
"test": "asp --verbose",
|
|
11
|
+
"test": "asp --verbose --output-binary",
|
|
12
12
|
"tsc:all": "exit 0",
|
|
13
13
|
"test:update-snapshots": "exit 0",
|
|
14
14
|
"asbuild:debug": "asc assembly/index.ts --target debug",
|