@goast/core 0.4.0 → 0.4.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/esm/_dnt.test_polyfills.d.ts +11 -0
- package/esm/_dnt.test_polyfills.d.ts.map +1 -1
- package/esm/_dnt.test_polyfills.js +14 -0
- package/esm/deps/jsr.io/@std/assert/1.0.11/assertion_error.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/assertion_error.js +1 -1
- package/esm/deps/jsr.io/@std/assert/1.0.11/false.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/false.js +1 -1
- package/esm/deps/jsr.io/@std/assert/1.0.11/instance_of.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/instance_of.js +1 -1
- package/esm/deps/jsr.io/@std/assert/1.0.11/match.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/match.js +1 -1
- package/esm/deps/jsr.io/@std/assert/1.0.11/not_instance_of.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/not_instance_of.js +1 -1
- package/esm/deps/jsr.io/@std/assert/1.0.11/not_match.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/not_match.js +1 -1
- package/esm/deps/jsr.io/@std/assert/1.0.11/not_strict_equals.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/not_strict_equals.js +2 -2
- package/esm/deps/jsr.io/@std/assert/1.0.11/strict_equals.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/strict_equals.js +6 -6
- package/esm/deps/jsr.io/@std/expect/1.0.12/_assert_equals.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_assert_equals.js +2 -2
- package/{script/deps/jsr.io/@std/assert/1.0.6/is_error.d.ts → esm/deps/jsr.io/@std/expect/1.0.12/_assert_is_error.d.ts} +1 -12
- package/esm/deps/jsr.io/@std/expect/1.0.12/_assert_is_error.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/{assert/1.0.6/is_error.js → expect/1.0.12/_assert_is_error.js} +8 -19
- package/esm/deps/jsr.io/@std/expect/1.0.12/_assert_not_equals.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_assert_not_equals.js +3 -3
- package/esm/deps/jsr.io/@std/expect/{1.0.5/_assertion.d.ts → 1.0.12/_assertions.d.ts} +2 -1
- package/esm/deps/jsr.io/@std/expect/1.0.12/_assertions.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/expect/1.0.12/_assertions.js +13 -0
- package/esm/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_asymmetric_matchers.d.ts +14 -4
- package/esm/deps/jsr.io/@std/expect/1.0.12/_asymmetric_matchers.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_asymmetric_matchers.js +54 -17
- package/esm/deps/jsr.io/@std/expect/1.0.12/_build_message.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_build_message.js +9 -9
- package/esm/deps/jsr.io/@std/expect/1.0.12/_custom_equality_tester.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_custom_equality_tester.js +1 -1
- package/esm/deps/jsr.io/@std/expect/1.0.12/_equal.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_equal.js +8 -8
- package/esm/deps/jsr.io/@std/expect/1.0.12/_extend.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_extend.js +1 -1
- package/esm/deps/jsr.io/@std/expect/1.0.12/_inspect_args.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_inspect_args.js +1 -1
- package/esm/deps/jsr.io/@std/expect/1.0.12/_matchers.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/expect/1.0.12/_matchers.js +714 -0
- package/esm/deps/jsr.io/@std/expect/1.0.12/_mock_util.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_mock_util.js +1 -1
- package/esm/deps/jsr.io/@std/expect/1.0.12/_serializer.d.ts +4 -0
- package/esm/deps/jsr.io/@std/expect/1.0.12/_serializer.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/expect/1.0.12/_serializer.js +10 -0
- package/esm/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_types.d.ts +7 -2
- package/esm/deps/jsr.io/@std/expect/1.0.12/_types.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/expect/1.0.12/_types.js +3 -0
- package/esm/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_utils.d.ts +1 -0
- package/esm/deps/jsr.io/@std/expect/1.0.12/_utils.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_utils.js +60 -1
- package/{script/deps/jsr.io/@std/expect/1.0.5 → esm/deps/jsr.io/@std/expect/1.0.12}/expect.d.ts +10 -1
- package/esm/deps/jsr.io/@std/expect/1.0.12/expect.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/expect.js +101 -3
- package/esm/deps/jsr.io/@std/expect/1.0.12/fn.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/fn.js +1 -1
- package/{script/deps/jsr.io/@std/expect/1.0.5 → esm/deps/jsr.io/@std/expect/1.0.12}/mod.d.ts +8 -7
- package/esm/deps/jsr.io/@std/expect/1.0.12/mod.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/mod.js +9 -8
- package/esm/deps/jsr.io/@std/internal/1.0.5/assertion_state.d.ts +160 -0
- package/esm/deps/jsr.io/@std/internal/1.0.5/assertion_state.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/internal/1.0.5/assertion_state.js +199 -0
- package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/build_message.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff_str.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/format.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/styles.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/types.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/testing/{1.0.3 → 1.0.9}/_test_suite.d.ts +6 -1
- package/esm/deps/jsr.io/@std/testing/1.0.9/_test_suite.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/testing/{1.0.3 → 1.0.9}/_test_suite.js +45 -5
- package/esm/deps/jsr.io/@std/testing/{1.0.3 → 1.0.9}/bdd.d.ts +12 -5
- package/{script/deps/jsr.io/@std/testing/1.0.3 → esm/deps/jsr.io/@std/testing/1.0.9}/bdd.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/testing/{1.0.3 → 1.0.9}/bdd.js +85 -7
- package/esm/src/collect/helpers.test.js +2 -2
- package/esm/src/transform/helpers.test.js +2 -2
- package/esm/src/utils/action-provider.test.js +2 -2
- package/esm/src/utils/asset-manager.d.ts +1 -0
- package/esm/src/utils/asset-manager.d.ts.map +1 -1
- package/esm/src/utils/asset-manager.js +1 -1
- package/esm/src/utils/common.utils.test.js +2 -2
- package/esm/src/utils/condition.test.js +2 -2
- package/esm/src/utils/endpoint.utils.test.js +2 -2
- package/esm/src/utils/factory.test.js +2 -2
- package/esm/src/utils/generator.utils.test.js +2 -2
- package/esm/src/utils/object.utils.test.js +2 -2
- package/esm/src/utils/schema.utils.test.js +59 -67
- package/esm/src/utils/source-builder.test.js +3 -4
- package/esm/src/utils/string-builder/string-builder.test.js +11 -12
- package/esm/src/utils/string.utils.test.js +2 -2
- package/esm/tests/openapi.test.js +1 -1
- package/package.json +2 -2
- package/script/_dnt.test_polyfills.d.ts +11 -0
- package/script/_dnt.test_polyfills.d.ts.map +1 -1
- package/script/_dnt.test_polyfills.js +14 -0
- package/script/deps/jsr.io/@std/assert/1.0.11/assertion_error.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/assertion_error.js +1 -1
- package/script/deps/jsr.io/@std/assert/1.0.11/false.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/false.js +1 -1
- package/script/deps/jsr.io/@std/assert/1.0.11/instance_of.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/instance_of.js +1 -1
- package/script/deps/jsr.io/@std/assert/1.0.11/match.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/match.js +1 -1
- package/script/deps/jsr.io/@std/assert/1.0.11/not_instance_of.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/not_instance_of.js +1 -1
- package/script/deps/jsr.io/@std/assert/1.0.11/not_match.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/not_match.js +1 -1
- package/script/deps/jsr.io/@std/assert/1.0.11/not_strict_equals.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/not_strict_equals.js +2 -2
- package/script/deps/jsr.io/@std/assert/1.0.11/strict_equals.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/strict_equals.js +6 -6
- package/script/deps/jsr.io/@std/expect/1.0.12/_assert_equals.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_assert_equals.js +2 -2
- package/{esm/deps/jsr.io/@std/assert/1.0.6/is_error.d.ts → script/deps/jsr.io/@std/expect/1.0.12/_assert_is_error.d.ts} +1 -12
- package/script/deps/jsr.io/@std/expect/1.0.12/_assert_is_error.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/{assert/1.0.6/is_error.js → expect/1.0.12/_assert_is_error.js} +8 -19
- package/script/deps/jsr.io/@std/expect/1.0.12/_assert_not_equals.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_assert_not_equals.js +3 -3
- package/script/deps/jsr.io/@std/expect/{1.0.5/_assertion.d.ts → 1.0.12/_assertions.d.ts} +2 -1
- package/script/deps/jsr.io/@std/expect/1.0.12/_assertions.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/expect/{1.0.5/_assertion.js → 1.0.12/_assertions.js} +7 -2
- package/script/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_asymmetric_matchers.d.ts +14 -4
- package/script/deps/jsr.io/@std/expect/1.0.12/_asymmetric_matchers.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_asymmetric_matchers.js +61 -18
- package/script/deps/jsr.io/@std/expect/1.0.12/_build_message.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_build_message.js +9 -9
- package/script/deps/jsr.io/@std/expect/1.0.12/_custom_equality_tester.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_custom_equality_tester.js +1 -1
- package/script/deps/jsr.io/@std/expect/1.0.12/_equal.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_equal.js +8 -8
- package/script/deps/jsr.io/@std/expect/1.0.12/_extend.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_extend.js +1 -1
- package/script/deps/jsr.io/@std/expect/1.0.12/_inspect_args.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_inspect_args.js +1 -1
- package/script/deps/jsr.io/@std/expect/1.0.12/_matchers.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/expect/1.0.12/_matchers.js +748 -0
- package/script/deps/jsr.io/@std/expect/1.0.12/_mock_util.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_mock_util.js +1 -1
- package/script/deps/jsr.io/@std/expect/1.0.12/_serializer.d.ts +4 -0
- package/script/deps/jsr.io/@std/expect/1.0.12/_serializer.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/expect/1.0.12/_serializer.js +14 -0
- package/script/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_types.d.ts +7 -2
- package/script/deps/jsr.io/@std/expect/1.0.12/_types.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_types.js +1 -1
- package/script/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_utils.d.ts +1 -0
- package/script/deps/jsr.io/@std/expect/1.0.12/_utils.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_utils.js +61 -1
- package/{esm/deps/jsr.io/@std/expect/1.0.5 → script/deps/jsr.io/@std/expect/1.0.12}/expect.d.ts +10 -1
- package/script/deps/jsr.io/@std/expect/1.0.12/expect.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/expect.js +103 -5
- package/script/deps/jsr.io/@std/expect/1.0.12/fn.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/fn.js +1 -1
- package/{esm/deps/jsr.io/@std/expect/1.0.5 → script/deps/jsr.io/@std/expect/1.0.12}/mod.d.ts +8 -7
- package/script/deps/jsr.io/@std/expect/1.0.12/mod.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/mod.js +9 -8
- package/script/deps/jsr.io/@std/internal/1.0.5/assertion_state.d.ts +160 -0
- package/script/deps/jsr.io/@std/internal/1.0.5/assertion_state.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/internal/1.0.5/assertion_state.js +204 -0
- package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/build_message.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff_str.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/format.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/styles.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/types.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/testing/{1.0.3 → 1.0.9}/_test_suite.d.ts +6 -1
- package/script/deps/jsr.io/@std/testing/1.0.9/_test_suite.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/testing/{1.0.3 → 1.0.9}/_test_suite.js +46 -6
- package/script/deps/jsr.io/@std/testing/{1.0.3 → 1.0.9}/bdd.d.ts +12 -5
- package/{esm/deps/jsr.io/@std/testing/1.0.3 → script/deps/jsr.io/@std/testing/1.0.9}/bdd.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/testing/{1.0.3 → 1.0.9}/bdd.js +84 -6
- package/script/src/collect/helpers.test.js +2 -2
- package/script/src/transform/helpers.test.js +2 -2
- package/script/src/utils/action-provider.test.js +2 -2
- package/script/src/utils/asset-manager.d.ts +1 -0
- package/script/src/utils/asset-manager.d.ts.map +1 -1
- package/script/src/utils/asset-manager.js +1 -1
- package/script/src/utils/common.utils.test.js +2 -2
- package/script/src/utils/condition.test.js +2 -2
- package/script/src/utils/endpoint.utils.test.js +2 -2
- package/script/src/utils/factory.test.js +2 -2
- package/script/src/utils/generator.utils.test.js +2 -2
- package/script/src/utils/object.utils.test.js +2 -2
- package/script/src/utils/schema.utils.test.js +58 -66
- package/script/src/utils/source-builder.test.js +3 -4
- package/script/src/utils/string-builder/string-builder.test.js +11 -12
- package/script/src/utils/string.utils.test.js +2 -2
- package/script/tests/openapi.test.js +1 -1
- package/src/_dnt.test_polyfills.ts +27 -0
- package/src/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/assertion_error.ts +1 -1
- package/src/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/false.ts +1 -1
- package/src/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/instance_of.ts +1 -1
- package/src/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/match.ts +1 -1
- package/src/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/not_instance_of.ts +1 -1
- package/src/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/not_match.ts +1 -1
- package/src/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/not_strict_equals.ts +2 -2
- package/src/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/strict_equals.ts +6 -6
- package/src/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_assert_equals.ts +2 -2
- package/src/deps/jsr.io/@std/{assert/1.0.6/is_error.ts → expect/1.0.12/_assert_is_error.ts} +8 -19
- package/src/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_assert_not_equals.ts +3 -3
- package/src/deps/jsr.io/@std/expect/1.0.12/_assertions.ts +18 -0
- package/src/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_asymmetric_matchers.ts +69 -18
- package/src/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_build_message.ts +9 -9
- package/src/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_custom_equality_tester.ts +1 -1
- package/src/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_equal.ts +10 -9
- package/src/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_extend.ts +1 -1
- package/src/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_inspect_args.ts +1 -1
- package/src/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_matchers.ts +308 -108
- package/src/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_mock_util.ts +1 -1
- package/src/deps/jsr.io/@std/expect/1.0.12/_serializer.ts +15 -0
- package/src/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_types.ts +9 -3
- package/src/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_utils.ts +83 -1
- package/src/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/expect.ts +113 -4
- package/src/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/fn.ts +1 -1
- package/src/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/mod.ts +9 -8
- package/src/deps/jsr.io/@std/internal/1.0.5/assertion_state.ts +214 -0
- package/src/deps/jsr.io/@std/testing/{1.0.3 → 1.0.9}/_test_suite.ts +68 -9
- package/src/deps/jsr.io/@std/testing/{1.0.3 → 1.0.9}/bdd.ts +98 -12
- package/src/src/collect/helpers.test.ts +2 -2
- package/src/src/transform/helpers.test.ts +2 -2
- package/src/src/utils/action-provider.test.ts +2 -2
- package/src/src/utils/asset-manager.ts +1 -1
- package/src/src/utils/common.utils.test.ts +2 -2
- package/src/src/utils/condition.test.ts +2 -2
- package/src/src/utils/endpoint.utils.test.ts +2 -2
- package/src/src/utils/factory.test.ts +2 -2
- package/src/src/utils/generator.utils.test.ts +2 -2
- package/src/src/utils/object.utils.test.ts +2 -2
- package/src/src/utils/schema.utils.test.ts +68 -67
- package/src/src/utils/source-builder.test.ts +3 -4
- package/src/src/utils/string-builder/string-builder.test.ts +11 -12
- package/src/src/utils/string.utils.test.ts +2 -2
- package/src/tests/openapi.test.ts +1 -1
- package/esm/deps/jsr.io/@std/assert/1.0.6/assertion_error.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/assert/1.0.6/equal.d.ts +0 -17
- package/esm/deps/jsr.io/@std/assert/1.0.6/equal.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/assert/1.0.6/equal.js +0 -136
- package/esm/deps/jsr.io/@std/assert/1.0.6/equals.d.ts +0 -22
- package/esm/deps/jsr.io/@std/assert/1.0.6/equals.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/assert/1.0.6/equals.js +0 -45
- package/esm/deps/jsr.io/@std/assert/1.0.6/false.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/assert/1.0.6/instance_of.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/assert/1.0.6/is_error.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/assert/1.0.6/match.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/assert/1.0.6/not_instance_of.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/assert/1.0.6/not_match.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/assert/1.0.6/not_strict_equals.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/assert/1.0.6/object_match.d.ts +0 -28
- package/esm/deps/jsr.io/@std/assert/1.0.6/object_match.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/assert/1.0.6/object_match.js +0 -159
- package/esm/deps/jsr.io/@std/assert/1.0.6/strict_equals.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/expect/1.0.5/_assert_equals.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/expect/1.0.5/_assert_not_equals.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/expect/1.0.5/_assertion.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/expect/1.0.5/_assertion.js +0 -9
- package/esm/deps/jsr.io/@std/expect/1.0.5/_asymmetric_matchers.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/expect/1.0.5/_build_message.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/expect/1.0.5/_custom_equality_tester.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/expect/1.0.5/_equal.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/expect/1.0.5/_extend.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/expect/1.0.5/_inspect_args.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/expect/1.0.5/_matchers.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/expect/1.0.5/_matchers.js +0 -564
- package/esm/deps/jsr.io/@std/expect/1.0.5/_mock_util.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/expect/1.0.5/_types.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/expect/1.0.5/_types.js +0 -3
- package/esm/deps/jsr.io/@std/expect/1.0.5/_utils.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/expect/1.0.5/expect.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/expect/1.0.5/fn.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/expect/1.0.5/mod.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/internal/1.0.4/assertion_state.d.ts +0 -75
- package/esm/deps/jsr.io/@std/internal/1.0.4/assertion_state.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/internal/1.0.4/assertion_state.js +0 -101
- package/esm/deps/jsr.io/@std/testing/1.0.3/_test_suite.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/assert/1.0.6/assertion_error.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/assert/1.0.6/equal.d.ts +0 -17
- package/script/deps/jsr.io/@std/assert/1.0.6/equal.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/assert/1.0.6/equal.js +0 -139
- package/script/deps/jsr.io/@std/assert/1.0.6/equals.d.ts +0 -22
- package/script/deps/jsr.io/@std/assert/1.0.6/equals.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/assert/1.0.6/equals.js +0 -48
- package/script/deps/jsr.io/@std/assert/1.0.6/false.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/assert/1.0.6/instance_of.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/assert/1.0.6/is_error.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/assert/1.0.6/match.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/assert/1.0.6/not_instance_of.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/assert/1.0.6/not_match.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/assert/1.0.6/not_strict_equals.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/assert/1.0.6/object_match.d.ts +0 -28
- package/script/deps/jsr.io/@std/assert/1.0.6/object_match.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/assert/1.0.6/object_match.js +0 -162
- package/script/deps/jsr.io/@std/assert/1.0.6/strict_equals.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/expect/1.0.5/_assert_equals.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/expect/1.0.5/_assert_not_equals.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/expect/1.0.5/_assertion.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/expect/1.0.5/_asymmetric_matchers.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/expect/1.0.5/_build_message.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/expect/1.0.5/_custom_equality_tester.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/expect/1.0.5/_equal.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/expect/1.0.5/_extend.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/expect/1.0.5/_inspect_args.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/expect/1.0.5/_matchers.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/expect/1.0.5/_matchers.js +0 -598
- package/script/deps/jsr.io/@std/expect/1.0.5/_mock_util.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/expect/1.0.5/_types.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/expect/1.0.5/_utils.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/expect/1.0.5/expect.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/expect/1.0.5/fn.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/expect/1.0.5/mod.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/internal/1.0.4/assertion_state.d.ts +0 -75
- package/script/deps/jsr.io/@std/internal/1.0.4/assertion_state.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/internal/1.0.4/assertion_state.js +0 -106
- package/script/deps/jsr.io/@std/testing/1.0.3/_test_suite.d.ts.map +0 -1
- package/src/deps/jsr.io/@std/assert/1.0.6/equal.ts +0 -152
- package/src/deps/jsr.io/@std/assert/1.0.6/equals.ts +0 -52
- package/src/deps/jsr.io/@std/assert/1.0.6/object_match.ts +0 -202
- package/src/deps/jsr.io/@std/expect/1.0.5/_assertion.ts +0 -13
- package/src/deps/jsr.io/@std/internal/1.0.4/assertion_state.ts +0 -111
- /package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/assertion_error.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/false.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/instance_of.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/match.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/not_instance_of.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/not_match.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/not_strict_equals.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/strict_equals.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_assert_equals.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_assert_not_equals.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_build_message.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_custom_equality_tester.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_equal.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_extend.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_inspect_args.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_matchers.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_mock_util.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/fn.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/build_message.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/build_message.js +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff.js +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff_str.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff_str.js +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/format.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/format.js +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/styles.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/styles.js +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/types.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/types.js +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/assertion_error.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/false.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/instance_of.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/match.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/not_instance_of.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/not_match.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/not_strict_equals.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/strict_equals.d.ts +0 -0
- /package/script/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_assert_equals.d.ts +0 -0
- /package/script/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_assert_not_equals.d.ts +0 -0
- /package/script/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_build_message.d.ts +0 -0
- /package/script/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_custom_equality_tester.d.ts +0 -0
- /package/script/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_equal.d.ts +0 -0
- /package/script/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_extend.d.ts +0 -0
- /package/script/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_inspect_args.d.ts +0 -0
- /package/script/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_matchers.d.ts +0 -0
- /package/script/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_mock_util.d.ts +0 -0
- /package/script/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/fn.d.ts +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/build_message.d.ts +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/build_message.js +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff.d.ts +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff.js +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff_str.d.ts +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff_str.js +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/format.d.ts +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/format.js +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/styles.d.ts +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/styles.js +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/types.d.ts +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/types.js +0 -0
- /package/src/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/build_message.ts +0 -0
- /package/src/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff.ts +0 -0
- /package/src/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff_str.ts +0 -0
- /package/src/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/format.ts +0 -0
- /package/src/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/styles.ts +0 -0
- /package/src/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/types.ts +0 -0
|
@@ -1,598 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.toBe = toBe;
|
|
5
|
-
exports.toEqual = toEqual;
|
|
6
|
-
exports.toStrictEqual = toStrictEqual;
|
|
7
|
-
exports.toBeCloseTo = toBeCloseTo;
|
|
8
|
-
exports.toBeDefined = toBeDefined;
|
|
9
|
-
exports.toBeUndefined = toBeUndefined;
|
|
10
|
-
exports.toBeFalsy = toBeFalsy;
|
|
11
|
-
exports.toBeTruthy = toBeTruthy;
|
|
12
|
-
exports.toBeGreaterThanOrEqual = toBeGreaterThanOrEqual;
|
|
13
|
-
exports.toBeGreaterThan = toBeGreaterThan;
|
|
14
|
-
exports.toBeInstanceOf = toBeInstanceOf;
|
|
15
|
-
exports.toBeLessThanOrEqual = toBeLessThanOrEqual;
|
|
16
|
-
exports.toBeLessThan = toBeLessThan;
|
|
17
|
-
exports.toBeNaN = toBeNaN;
|
|
18
|
-
exports.toBeNull = toBeNull;
|
|
19
|
-
exports.toHaveLength = toHaveLength;
|
|
20
|
-
exports.toHaveProperty = toHaveProperty;
|
|
21
|
-
exports.toContain = toContain;
|
|
22
|
-
exports.toContainEqual = toContainEqual;
|
|
23
|
-
exports.toMatch = toMatch;
|
|
24
|
-
exports.toMatchObject = toMatchObject;
|
|
25
|
-
exports.toHaveBeenCalled = toHaveBeenCalled;
|
|
26
|
-
exports.toHaveBeenCalledTimes = toHaveBeenCalledTimes;
|
|
27
|
-
exports.toHaveBeenCalledWith = toHaveBeenCalledWith;
|
|
28
|
-
exports.toHaveBeenLastCalledWith = toHaveBeenLastCalledWith;
|
|
29
|
-
exports.toHaveBeenNthCalledWith = toHaveBeenNthCalledWith;
|
|
30
|
-
exports.toHaveReturned = toHaveReturned;
|
|
31
|
-
exports.toHaveReturnedTimes = toHaveReturnedTimes;
|
|
32
|
-
exports.toHaveReturnedWith = toHaveReturnedWith;
|
|
33
|
-
exports.toHaveLastReturnedWith = toHaveLastReturnedWith;
|
|
34
|
-
exports.toHaveNthReturnedWith = toHaveNthReturnedWith;
|
|
35
|
-
exports.toThrow = toThrow;
|
|
36
|
-
const not_strict_equals_js_1 = require("../../assert/1.0.6/not_strict_equals.js");
|
|
37
|
-
const strict_equals_js_1 = require("../../assert/1.0.6/strict_equals.js");
|
|
38
|
-
const instance_of_js_1 = require("../../assert/1.0.6/instance_of.js");
|
|
39
|
-
const is_error_js_1 = require("../../assert/1.0.6/is_error.js");
|
|
40
|
-
const not_instance_of_js_1 = require("../../assert/1.0.6/not_instance_of.js");
|
|
41
|
-
const match_js_1 = require("../../assert/1.0.6/match.js");
|
|
42
|
-
const object_match_js_1 = require("../../assert/1.0.6/object_match.js");
|
|
43
|
-
const not_match_js_1 = require("../../assert/1.0.6/not_match.js");
|
|
44
|
-
const assertion_error_js_1 = require("../../assert/1.0.6/assertion_error.js");
|
|
45
|
-
const _assert_equals_js_1 = require("./_assert_equals.js");
|
|
46
|
-
const _assert_not_equals_js_1 = require("./_assert_not_equals.js");
|
|
47
|
-
const _equal_js_1 = require("./_equal.js");
|
|
48
|
-
const format_js_1 = require("../../internal/1.0.4/format.js");
|
|
49
|
-
const _mock_util_js_1 = require("./_mock_util.js");
|
|
50
|
-
const _inspect_args_js_1 = require("./_inspect_args.js");
|
|
51
|
-
const _utils_js_1 = require("./_utils.js");
|
|
52
|
-
function toBe(context, expect) {
|
|
53
|
-
if (context.isNot) {
|
|
54
|
-
(0, not_strict_equals_js_1.assertNotStrictEquals)(context.value, expect, context.customMessage);
|
|
55
|
-
}
|
|
56
|
-
else {
|
|
57
|
-
(0, strict_equals_js_1.assertStrictEquals)(context.value, expect, context.customMessage);
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
function toEqual(context, expected) {
|
|
61
|
-
const v = context.value;
|
|
62
|
-
const e = expected;
|
|
63
|
-
const equalsOptions = (0, _utils_js_1.buildEqualOptions)({
|
|
64
|
-
...context,
|
|
65
|
-
customTesters: [
|
|
66
|
-
...context.customTesters,
|
|
67
|
-
_utils_js_1.iterableEquality,
|
|
68
|
-
],
|
|
69
|
-
});
|
|
70
|
-
if (context.isNot) {
|
|
71
|
-
(0, _assert_not_equals_js_1.assertNotEquals)(v, e, equalsOptions);
|
|
72
|
-
}
|
|
73
|
-
else {
|
|
74
|
-
(0, _assert_equals_js_1.assertEquals)(v, e, equalsOptions);
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
function toStrictEqual(context, expected) {
|
|
78
|
-
const equalsOptions = (0, _utils_js_1.buildEqualOptions)({
|
|
79
|
-
...context,
|
|
80
|
-
strictCheck: true,
|
|
81
|
-
customTesters: [
|
|
82
|
-
...context.customTesters,
|
|
83
|
-
_utils_js_1.iterableEquality,
|
|
84
|
-
],
|
|
85
|
-
});
|
|
86
|
-
if (context.isNot) {
|
|
87
|
-
(0, _assert_not_equals_js_1.assertNotEquals)(context.value, expected, equalsOptions);
|
|
88
|
-
}
|
|
89
|
-
else {
|
|
90
|
-
(0, _assert_equals_js_1.assertEquals)(context.value, expected, equalsOptions);
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
function toBeCloseTo(context, expected, numDigits = 2) {
|
|
94
|
-
if (numDigits < 0) {
|
|
95
|
-
throw new Error("toBeCloseTo second argument must be a non-negative integer. Got " +
|
|
96
|
-
numDigits);
|
|
97
|
-
}
|
|
98
|
-
const tolerance = 0.5 * Math.pow(10, -numDigits);
|
|
99
|
-
const value = Number(context.value);
|
|
100
|
-
const pass = Math.abs(expected - value) < tolerance;
|
|
101
|
-
if (context.isNot) {
|
|
102
|
-
if (pass) {
|
|
103
|
-
throw new assertion_error_js_1.AssertionError(`Expected the value not to be close to ${expected} (using ${numDigits} digits), but it is`);
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
else {
|
|
107
|
-
if (!pass) {
|
|
108
|
-
throw new assertion_error_js_1.AssertionError(`Expected the value (${value} to be close to ${expected} (using ${numDigits} digits), but it is not`);
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
function toBeDefined(context) {
|
|
113
|
-
if (context.isNot) {
|
|
114
|
-
(0, strict_equals_js_1.assertStrictEquals)(context.value, undefined, context.customMessage);
|
|
115
|
-
}
|
|
116
|
-
else {
|
|
117
|
-
(0, not_strict_equals_js_1.assertNotStrictEquals)(context.value, undefined, context.customMessage);
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
function toBeUndefined(context) {
|
|
121
|
-
if (context.isNot) {
|
|
122
|
-
(0, not_strict_equals_js_1.assertNotStrictEquals)(context.value, undefined, context.customMessage);
|
|
123
|
-
}
|
|
124
|
-
else {
|
|
125
|
-
(0, strict_equals_js_1.assertStrictEquals)(context.value, undefined, context.customMessage);
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
function toBeFalsy(context) {
|
|
129
|
-
const isFalsy = !(context.value);
|
|
130
|
-
if (context.isNot) {
|
|
131
|
-
if (isFalsy) {
|
|
132
|
-
throw new assertion_error_js_1.AssertionError(`Expected ${context.value} to NOT be falsy`);
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
else {
|
|
136
|
-
if (!isFalsy) {
|
|
137
|
-
throw new assertion_error_js_1.AssertionError(`Expected ${context.value} to be falsy`);
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
function toBeTruthy(context) {
|
|
142
|
-
const isTruthy = !!(context.value);
|
|
143
|
-
if (context.isNot) {
|
|
144
|
-
if (isTruthy) {
|
|
145
|
-
throw new assertion_error_js_1.AssertionError(`Expected ${context.value} to NOT be truthy`);
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
else {
|
|
149
|
-
if (!isTruthy) {
|
|
150
|
-
throw new assertion_error_js_1.AssertionError(`Expected ${context.value} to be truthy`);
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
function toBeGreaterThanOrEqual(context, expected) {
|
|
155
|
-
const isGreaterOrEqual = Number(context.value) >= Number(expected);
|
|
156
|
-
if (context.isNot) {
|
|
157
|
-
if (isGreaterOrEqual) {
|
|
158
|
-
throw new assertion_error_js_1.AssertionError(`Expected ${context.value} to NOT be greater than or equal ${expected}`);
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
else {
|
|
162
|
-
if (!isGreaterOrEqual) {
|
|
163
|
-
throw new assertion_error_js_1.AssertionError(`Expected ${context.value} to be greater than or equal ${expected}`);
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
function toBeGreaterThan(context, expected) {
|
|
168
|
-
const isGreater = Number(context.value) > Number(expected);
|
|
169
|
-
if (context.isNot) {
|
|
170
|
-
if (isGreater) {
|
|
171
|
-
throw new assertion_error_js_1.AssertionError(`Expected ${context.value} to NOT be greater than ${expected}`);
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
else {
|
|
175
|
-
if (!isGreater) {
|
|
176
|
-
throw new assertion_error_js_1.AssertionError(`Expected ${context.value} to be greater than ${expected}`);
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
function toBeInstanceOf(context, expected) {
|
|
181
|
-
if (context.isNot) {
|
|
182
|
-
(0, not_instance_of_js_1.assertNotInstanceOf)(context.value, expected);
|
|
183
|
-
}
|
|
184
|
-
else {
|
|
185
|
-
(0, instance_of_js_1.assertInstanceOf)(context.value, expected);
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
function toBeLessThanOrEqual(context, expected) {
|
|
189
|
-
const isLower = Number(context.value) <= Number(expected);
|
|
190
|
-
if (context.isNot) {
|
|
191
|
-
if (isLower) {
|
|
192
|
-
throw new assertion_error_js_1.AssertionError(`Expected ${context.value} to NOT be lower than or equal ${expected}`);
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
else {
|
|
196
|
-
if (!isLower) {
|
|
197
|
-
throw new assertion_error_js_1.AssertionError(`Expected ${context.value} to be lower than or equal ${expected}`);
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
function toBeLessThan(context, expected) {
|
|
202
|
-
const isLower = Number(context.value) < Number(expected);
|
|
203
|
-
if (context.isNot) {
|
|
204
|
-
if (isLower) {
|
|
205
|
-
throw new assertion_error_js_1.AssertionError(`Expected ${context.value} to NOT be lower than ${expected}`);
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
else {
|
|
209
|
-
if (!isLower) {
|
|
210
|
-
throw new assertion_error_js_1.AssertionError(`Expected ${context.value} to be lower than ${expected}`);
|
|
211
|
-
}
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
function toBeNaN(context) {
|
|
215
|
-
const equalsOptions = (0, _utils_js_1.buildEqualOptions)(context);
|
|
216
|
-
if (context.isNot) {
|
|
217
|
-
(0, _assert_not_equals_js_1.assertNotEquals)(isNaN(Number(context.value)), true, {
|
|
218
|
-
...equalsOptions,
|
|
219
|
-
msg: equalsOptions.msg || `Expected ${context.value} to not be NaN`,
|
|
220
|
-
});
|
|
221
|
-
}
|
|
222
|
-
else {
|
|
223
|
-
(0, _assert_equals_js_1.assertEquals)(isNaN(Number(context.value)), true, {
|
|
224
|
-
...equalsOptions,
|
|
225
|
-
msg: equalsOptions.msg || `Expected ${context.value} to be NaN`,
|
|
226
|
-
});
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
|
-
function toBeNull(context) {
|
|
230
|
-
if (context.isNot) {
|
|
231
|
-
(0, not_strict_equals_js_1.assertNotStrictEquals)(context.value, null, context.customMessage || `Expected ${context.value} to not be null`);
|
|
232
|
-
}
|
|
233
|
-
else {
|
|
234
|
-
(0, strict_equals_js_1.assertStrictEquals)(context.value, null, context.customMessage || `Expected ${context.value} to be null`);
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
|
-
function toHaveLength(context, expected) {
|
|
238
|
-
const { value } = context;
|
|
239
|
-
// deno-lint-ignore no-explicit-any
|
|
240
|
-
const maybeLength = value === null || value === void 0 ? void 0 : value.length;
|
|
241
|
-
const hasLength = maybeLength === expected;
|
|
242
|
-
if (context.isNot) {
|
|
243
|
-
if (hasLength) {
|
|
244
|
-
throw new assertion_error_js_1.AssertionError(`Expected value not to have length ${expected}, but it does`);
|
|
245
|
-
}
|
|
246
|
-
}
|
|
247
|
-
else {
|
|
248
|
-
if (!hasLength) {
|
|
249
|
-
throw new assertion_error_js_1.AssertionError(`Expected value to have length ${expected}, but it does not: the value has length ${maybeLength}`);
|
|
250
|
-
}
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
function toHaveProperty(context, propName, v) {
|
|
254
|
-
const { value } = context;
|
|
255
|
-
let propPath = [];
|
|
256
|
-
if (Array.isArray(propName)) {
|
|
257
|
-
propPath = propName;
|
|
258
|
-
}
|
|
259
|
-
else {
|
|
260
|
-
propPath = propName.split(".");
|
|
261
|
-
}
|
|
262
|
-
// deno-lint-ignore no-explicit-any
|
|
263
|
-
let current = value;
|
|
264
|
-
while (true) {
|
|
265
|
-
if (current === undefined || current === null) {
|
|
266
|
-
break;
|
|
267
|
-
}
|
|
268
|
-
if (propPath.length === 0) {
|
|
269
|
-
break;
|
|
270
|
-
}
|
|
271
|
-
const prop = propPath.shift();
|
|
272
|
-
current = current[prop];
|
|
273
|
-
}
|
|
274
|
-
let hasProperty;
|
|
275
|
-
if (v) {
|
|
276
|
-
hasProperty = current !== undefined && propPath.length === 0 &&
|
|
277
|
-
(0, _equal_js_1.equal)(current, v, context);
|
|
278
|
-
}
|
|
279
|
-
else {
|
|
280
|
-
hasProperty = current !== undefined && propPath.length === 0;
|
|
281
|
-
}
|
|
282
|
-
let ofValue = "";
|
|
283
|
-
if (v) {
|
|
284
|
-
ofValue = ` of the value ${(0, _inspect_args_js_1.inspectArg)(v)}`;
|
|
285
|
-
}
|
|
286
|
-
if (context.isNot) {
|
|
287
|
-
if (hasProperty) {
|
|
288
|
-
throw new assertion_error_js_1.AssertionError(`Expected the value not to have the property ${propPath.join(".")}${ofValue}, but it does`);
|
|
289
|
-
}
|
|
290
|
-
}
|
|
291
|
-
else {
|
|
292
|
-
if (!hasProperty) {
|
|
293
|
-
throw new assertion_error_js_1.AssertionError(`Expected the value to have the property ${propPath.join(".")}${ofValue}, but it does not`);
|
|
294
|
-
}
|
|
295
|
-
}
|
|
296
|
-
}
|
|
297
|
-
function toContain(context, expected) {
|
|
298
|
-
var _a, _b;
|
|
299
|
-
// deno-lint-ignore no-explicit-any
|
|
300
|
-
const doesContain = (_b = (_a = context.value) === null || _a === void 0 ? void 0 : _a.includes) === null || _b === void 0 ? void 0 : _b.call(_a, expected);
|
|
301
|
-
const fmtValue = (0, format_js_1.format)(context.value);
|
|
302
|
-
const fmtExpected = (0, format_js_1.format)(expected);
|
|
303
|
-
if (context.isNot) {
|
|
304
|
-
if (doesContain) {
|
|
305
|
-
throw new assertion_error_js_1.AssertionError(`The value ${fmtValue} contains the expected item ${fmtExpected}`);
|
|
306
|
-
}
|
|
307
|
-
}
|
|
308
|
-
else {
|
|
309
|
-
if (!doesContain) {
|
|
310
|
-
throw new assertion_error_js_1.AssertionError(`The value ${fmtValue} doesn't contain the expected item ${fmtExpected}`);
|
|
311
|
-
}
|
|
312
|
-
}
|
|
313
|
-
}
|
|
314
|
-
function toContainEqual(context, expected) {
|
|
315
|
-
const { value } = context;
|
|
316
|
-
assertIsIterable(value);
|
|
317
|
-
let doesContain = false;
|
|
318
|
-
for (const item of value) {
|
|
319
|
-
if ((0, _equal_js_1.equal)(item, expected, context)) {
|
|
320
|
-
doesContain = true;
|
|
321
|
-
break;
|
|
322
|
-
}
|
|
323
|
-
}
|
|
324
|
-
const prettyStringify = (js) => JSON.stringify(js, null, "\t")
|
|
325
|
-
.replace(/\"|\n|\t/g, "")
|
|
326
|
-
.slice(0, 100);
|
|
327
|
-
const fmtValue = prettyStringify(context.value);
|
|
328
|
-
const fmtExpected = prettyStringify(expected);
|
|
329
|
-
if (context.isNot) {
|
|
330
|
-
if (doesContain) {
|
|
331
|
-
throw new assertion_error_js_1.AssertionError(`The value contains the expected item:
|
|
332
|
-
Value: ${fmtValue}
|
|
333
|
-
Expected: ${fmtExpected}`);
|
|
334
|
-
}
|
|
335
|
-
}
|
|
336
|
-
else {
|
|
337
|
-
if (!doesContain) {
|
|
338
|
-
throw new assertion_error_js_1.AssertionError(`The value doesn't contain the expected item:
|
|
339
|
-
Value: ${fmtValue}
|
|
340
|
-
Expected: ${fmtExpected}`);
|
|
341
|
-
}
|
|
342
|
-
}
|
|
343
|
-
}
|
|
344
|
-
// deno-lint-ignore no-explicit-any
|
|
345
|
-
function assertIsIterable(value) {
|
|
346
|
-
if (value == null) {
|
|
347
|
-
throw new assertion_error_js_1.AssertionError("The value is null or undefined");
|
|
348
|
-
}
|
|
349
|
-
if (typeof value[Symbol.iterator] !== "function") {
|
|
350
|
-
throw new assertion_error_js_1.AssertionError("The value is not iterable");
|
|
351
|
-
}
|
|
352
|
-
}
|
|
353
|
-
function toMatch(context, expected) {
|
|
354
|
-
if (context.isNot) {
|
|
355
|
-
(0, not_match_js_1.assertNotMatch)(String(context.value), expected, context.customMessage);
|
|
356
|
-
}
|
|
357
|
-
else {
|
|
358
|
-
(0, match_js_1.assertMatch)(String(context.value), expected, context.customMessage);
|
|
359
|
-
}
|
|
360
|
-
}
|
|
361
|
-
function toMatchObject(context, expected) {
|
|
362
|
-
if (context.isNot) {
|
|
363
|
-
let objectMatch = false;
|
|
364
|
-
try {
|
|
365
|
-
(0, object_match_js_1.assertObjectMatch)(
|
|
366
|
-
// deno-lint-ignore no-explicit-any
|
|
367
|
-
context.value, expected, context.customMessage);
|
|
368
|
-
objectMatch = true;
|
|
369
|
-
const actualString = (0, format_js_1.format)(context.value);
|
|
370
|
-
const expectedString = (0, format_js_1.format)(expected);
|
|
371
|
-
throw new assertion_error_js_1.AssertionError(`Expected ${actualString} to NOT match ${expectedString}`);
|
|
372
|
-
}
|
|
373
|
-
catch (e) {
|
|
374
|
-
if (objectMatch) {
|
|
375
|
-
throw e;
|
|
376
|
-
}
|
|
377
|
-
return;
|
|
378
|
-
}
|
|
379
|
-
}
|
|
380
|
-
else {
|
|
381
|
-
(0, object_match_js_1.assertObjectMatch)(
|
|
382
|
-
// deno-lint-ignore no-explicit-any
|
|
383
|
-
context.value, expected, context.customMessage);
|
|
384
|
-
}
|
|
385
|
-
}
|
|
386
|
-
function toHaveBeenCalled(context) {
|
|
387
|
-
const calls = (0, _mock_util_js_1.getMockCalls)(context.value);
|
|
388
|
-
const hasBeenCalled = calls.length > 0;
|
|
389
|
-
if (context.isNot) {
|
|
390
|
-
if (hasBeenCalled) {
|
|
391
|
-
throw new assertion_error_js_1.AssertionError(`Expected mock function not to be called, but it was called ${calls.length} time(s)`);
|
|
392
|
-
}
|
|
393
|
-
}
|
|
394
|
-
else {
|
|
395
|
-
if (!hasBeenCalled) {
|
|
396
|
-
throw new assertion_error_js_1.AssertionError(`Expected mock function to be called, but it was not called`);
|
|
397
|
-
}
|
|
398
|
-
}
|
|
399
|
-
}
|
|
400
|
-
function toHaveBeenCalledTimes(context, expected) {
|
|
401
|
-
const calls = (0, _mock_util_js_1.getMockCalls)(context.value);
|
|
402
|
-
if (context.isNot) {
|
|
403
|
-
if (calls.length === expected) {
|
|
404
|
-
throw new assertion_error_js_1.AssertionError(`Expected mock function not to be called ${expected} time(s), but it was`);
|
|
405
|
-
}
|
|
406
|
-
}
|
|
407
|
-
else {
|
|
408
|
-
if (calls.length !== expected) {
|
|
409
|
-
throw new assertion_error_js_1.AssertionError(`Expected mock function to be called ${expected} time(s), but it was called ${calls.length} time(s)`);
|
|
410
|
-
}
|
|
411
|
-
}
|
|
412
|
-
}
|
|
413
|
-
function toHaveBeenCalledWith(context, ...expected) {
|
|
414
|
-
const calls = (0, _mock_util_js_1.getMockCalls)(context.value);
|
|
415
|
-
const hasBeenCalled = calls.some((call) => (0, _equal_js_1.equal)(call.args, expected));
|
|
416
|
-
if (context.isNot) {
|
|
417
|
-
if (hasBeenCalled) {
|
|
418
|
-
throw new assertion_error_js_1.AssertionError(`Expected mock function not to be called with ${(0, _inspect_args_js_1.inspectArgs)(expected)}, but it was`);
|
|
419
|
-
}
|
|
420
|
-
}
|
|
421
|
-
else {
|
|
422
|
-
if (!hasBeenCalled) {
|
|
423
|
-
let otherCalls = "";
|
|
424
|
-
if (calls.length > 0) {
|
|
425
|
-
otherCalls = `\n Other calls:\n ${calls.map((call) => (0, _inspect_args_js_1.inspectArgs)(call.args)).join("\n ")}`;
|
|
426
|
-
}
|
|
427
|
-
throw new assertion_error_js_1.AssertionError(`Expected mock function to be called with ${(0, _inspect_args_js_1.inspectArgs)(expected)}, but it was not.${otherCalls}`);
|
|
428
|
-
}
|
|
429
|
-
}
|
|
430
|
-
}
|
|
431
|
-
function toHaveBeenLastCalledWith(context, ...expected) {
|
|
432
|
-
var _a;
|
|
433
|
-
const calls = (0, _mock_util_js_1.getMockCalls)(context.value);
|
|
434
|
-
const hasBeenCalled = calls.length > 0 &&
|
|
435
|
-
(0, _equal_js_1.equal)((_a = calls.at(-1)) === null || _a === void 0 ? void 0 : _a.args, expected);
|
|
436
|
-
if (context.isNot) {
|
|
437
|
-
if (hasBeenCalled) {
|
|
438
|
-
throw new assertion_error_js_1.AssertionError(`Expected mock function not to be last called with ${(0, _inspect_args_js_1.inspectArgs)(expected)}, but it was`);
|
|
439
|
-
}
|
|
440
|
-
}
|
|
441
|
-
else {
|
|
442
|
-
if (!hasBeenCalled) {
|
|
443
|
-
const lastCall = calls.at(-1);
|
|
444
|
-
if (!lastCall) {
|
|
445
|
-
throw new assertion_error_js_1.AssertionError(`Expected mock function to be last called with ${(0, _inspect_args_js_1.inspectArgs)(expected)}, but it was not`);
|
|
446
|
-
}
|
|
447
|
-
else {
|
|
448
|
-
throw new assertion_error_js_1.AssertionError(`Expected mock function to be last called with ${(0, _inspect_args_js_1.inspectArgs)(expected)}, but it was last called with ${(0, _inspect_args_js_1.inspectArgs)(lastCall.args)}`);
|
|
449
|
-
}
|
|
450
|
-
}
|
|
451
|
-
}
|
|
452
|
-
}
|
|
453
|
-
function toHaveBeenNthCalledWith(context, nth, ...expected) {
|
|
454
|
-
var _a;
|
|
455
|
-
if (nth < 1) {
|
|
456
|
-
throw new Error(`nth must be greater than 0: received ${nth}`);
|
|
457
|
-
}
|
|
458
|
-
const calls = (0, _mock_util_js_1.getMockCalls)(context.value);
|
|
459
|
-
const callIndex = nth - 1;
|
|
460
|
-
const hasBeenCalled = calls.length > callIndex &&
|
|
461
|
-
(0, _equal_js_1.equal)((_a = calls[callIndex]) === null || _a === void 0 ? void 0 : _a.args, expected);
|
|
462
|
-
if (context.isNot) {
|
|
463
|
-
if (hasBeenCalled) {
|
|
464
|
-
throw new assertion_error_js_1.AssertionError(`Expected the n-th call (n=${nth}) of mock function is not with ${(0, _inspect_args_js_1.inspectArgs)(expected)}, but it was`);
|
|
465
|
-
}
|
|
466
|
-
}
|
|
467
|
-
else {
|
|
468
|
-
if (!hasBeenCalled) {
|
|
469
|
-
const nthCall = calls[callIndex];
|
|
470
|
-
if (!nthCall) {
|
|
471
|
-
throw new assertion_error_js_1.AssertionError(`Expected the n-th call (n=${nth}) of mock function is with ${(0, _inspect_args_js_1.inspectArgs)(expected)}, but the n-th call does not exist`);
|
|
472
|
-
}
|
|
473
|
-
else {
|
|
474
|
-
throw new assertion_error_js_1.AssertionError(`Expected the n-th call (n=${nth}) of mock function is with ${(0, _inspect_args_js_1.inspectArgs)(expected)}, but it was with ${(0, _inspect_args_js_1.inspectArgs)(nthCall.args)}`);
|
|
475
|
-
}
|
|
476
|
-
}
|
|
477
|
-
}
|
|
478
|
-
}
|
|
479
|
-
function toHaveReturned(context) {
|
|
480
|
-
const calls = (0, _mock_util_js_1.getMockCalls)(context.value);
|
|
481
|
-
const returned = calls.filter((call) => call.returns);
|
|
482
|
-
if (context.isNot) {
|
|
483
|
-
if (returned.length > 0) {
|
|
484
|
-
throw new assertion_error_js_1.AssertionError(`Expected the mock function to not have returned, but it returned ${returned.length} times`);
|
|
485
|
-
}
|
|
486
|
-
}
|
|
487
|
-
else {
|
|
488
|
-
if (returned.length === 0) {
|
|
489
|
-
throw new assertion_error_js_1.AssertionError(`Expected the mock function to have returned, but it did not return`);
|
|
490
|
-
}
|
|
491
|
-
}
|
|
492
|
-
}
|
|
493
|
-
function toHaveReturnedTimes(context, expected) {
|
|
494
|
-
const calls = (0, _mock_util_js_1.getMockCalls)(context.value);
|
|
495
|
-
const returned = calls.filter((call) => call.returns);
|
|
496
|
-
if (context.isNot) {
|
|
497
|
-
if (returned.length === expected) {
|
|
498
|
-
throw new assertion_error_js_1.AssertionError(`Expected the mock function to not have returned ${expected} times, but it returned ${returned.length} times`);
|
|
499
|
-
}
|
|
500
|
-
}
|
|
501
|
-
else {
|
|
502
|
-
if (returned.length !== expected) {
|
|
503
|
-
throw new assertion_error_js_1.AssertionError(`Expected the mock function to have returned ${expected} times, but it returned ${returned.length} times`);
|
|
504
|
-
}
|
|
505
|
-
}
|
|
506
|
-
}
|
|
507
|
-
function toHaveReturnedWith(context, expected) {
|
|
508
|
-
const calls = (0, _mock_util_js_1.getMockCalls)(context.value);
|
|
509
|
-
const returned = calls.filter((call) => call.returns);
|
|
510
|
-
const returnedWithExpected = returned.some((call) => (0, _equal_js_1.equal)(call.returned, expected));
|
|
511
|
-
if (context.isNot) {
|
|
512
|
-
if (returnedWithExpected) {
|
|
513
|
-
throw new assertion_error_js_1.AssertionError(`Expected the mock function to not have returned with ${(0, _inspect_args_js_1.inspectArg)(expected)}, but it did`);
|
|
514
|
-
}
|
|
515
|
-
}
|
|
516
|
-
else {
|
|
517
|
-
if (!returnedWithExpected) {
|
|
518
|
-
throw new assertion_error_js_1.AssertionError(`Expected the mock function to have returned with ${(0, _inspect_args_js_1.inspectArg)(expected)}, but it did not`);
|
|
519
|
-
}
|
|
520
|
-
}
|
|
521
|
-
}
|
|
522
|
-
function toHaveLastReturnedWith(context, expected) {
|
|
523
|
-
var _a;
|
|
524
|
-
const calls = (0, _mock_util_js_1.getMockCalls)(context.value);
|
|
525
|
-
const returned = calls.filter((call) => call.returns);
|
|
526
|
-
const lastReturnedWithExpected = returned.length > 0 &&
|
|
527
|
-
(0, _equal_js_1.equal)((_a = returned.at(-1)) === null || _a === void 0 ? void 0 : _a.returned, expected);
|
|
528
|
-
if (context.isNot) {
|
|
529
|
-
if (lastReturnedWithExpected) {
|
|
530
|
-
throw new assertion_error_js_1.AssertionError(`Expected the mock function to not have last returned with ${(0, _inspect_args_js_1.inspectArg)(expected)}, but it did`);
|
|
531
|
-
}
|
|
532
|
-
}
|
|
533
|
-
else {
|
|
534
|
-
if (!lastReturnedWithExpected) {
|
|
535
|
-
throw new assertion_error_js_1.AssertionError(`Expected the mock function to have last returned with ${(0, _inspect_args_js_1.inspectArg)(expected)}, but it did not`);
|
|
536
|
-
}
|
|
537
|
-
}
|
|
538
|
-
}
|
|
539
|
-
function toHaveNthReturnedWith(context, nth, expected) {
|
|
540
|
-
if (nth < 1) {
|
|
541
|
-
throw new Error(`nth(${nth}) must be greater than 0`);
|
|
542
|
-
}
|
|
543
|
-
const calls = (0, _mock_util_js_1.getMockCalls)(context.value);
|
|
544
|
-
const returned = calls.filter((call) => call.returns);
|
|
545
|
-
const returnIndex = nth - 1;
|
|
546
|
-
const maybeNthReturned = returned[returnIndex];
|
|
547
|
-
const nthReturnedWithExpected = maybeNthReturned &&
|
|
548
|
-
(0, _equal_js_1.equal)(maybeNthReturned.returned, expected);
|
|
549
|
-
if (context.isNot) {
|
|
550
|
-
if (nthReturnedWithExpected) {
|
|
551
|
-
throw new assertion_error_js_1.AssertionError(`Expected the mock function to not have n-th (n=${nth}) returned with ${(0, _inspect_args_js_1.inspectArg)(expected)}, but it did`);
|
|
552
|
-
}
|
|
553
|
-
}
|
|
554
|
-
else {
|
|
555
|
-
if (!nthReturnedWithExpected) {
|
|
556
|
-
throw new assertion_error_js_1.AssertionError(`Expected the mock function to have n-th (n=${nth}) returned with ${(0, _inspect_args_js_1.inspectArg)(expected)}, but it did not`);
|
|
557
|
-
}
|
|
558
|
-
}
|
|
559
|
-
}
|
|
560
|
-
function toThrow(context,
|
|
561
|
-
// deno-lint-ignore no-explicit-any
|
|
562
|
-
expected) {
|
|
563
|
-
if (typeof context.value === "function") {
|
|
564
|
-
try {
|
|
565
|
-
context.value = context.value();
|
|
566
|
-
}
|
|
567
|
-
catch (err) {
|
|
568
|
-
context.value = err;
|
|
569
|
-
}
|
|
570
|
-
}
|
|
571
|
-
let expectClass = undefined;
|
|
572
|
-
let expectMessage = undefined;
|
|
573
|
-
if (expected instanceof Error) {
|
|
574
|
-
expectClass = expected.constructor;
|
|
575
|
-
expectMessage = expected.message;
|
|
576
|
-
}
|
|
577
|
-
if (expected instanceof Function) {
|
|
578
|
-
expectClass = expected;
|
|
579
|
-
}
|
|
580
|
-
if (typeof expected === "string" || expected instanceof RegExp) {
|
|
581
|
-
expectMessage = expected;
|
|
582
|
-
}
|
|
583
|
-
if (context.isNot) {
|
|
584
|
-
let isError = false;
|
|
585
|
-
try {
|
|
586
|
-
(0, is_error_js_1.assertIsError)(context.value, expectClass, expectMessage, context.customMessage);
|
|
587
|
-
isError = true;
|
|
588
|
-
throw new assertion_error_js_1.AssertionError(`Expected to NOT throw ${expected}`);
|
|
589
|
-
}
|
|
590
|
-
catch (e) {
|
|
591
|
-
if (isError) {
|
|
592
|
-
throw e;
|
|
593
|
-
}
|
|
594
|
-
return;
|
|
595
|
-
}
|
|
596
|
-
}
|
|
597
|
-
return (0, is_error_js_1.assertIsError)(context.value, expectClass, expectMessage, context.customMessage);
|
|
598
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_mock_util.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/expect/1.0.5/_mock_util.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,WAAW,eAAsB,CAAC;AAE/C,MAAM,MAAM,QAAQ,GAAG;IACrB,IAAI,EAAE,GAAG,EAAE,CAAC;IACZ,QAAQ,CAAC,EAAE,GAAG,CAAC;IACf,MAAM,CAAC,EAAE,GAAG,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,OAAO,CAAC;CACjB,CAAC;AAEF,wBAAgB,YAAY,CAAC,CAAC,EAAE,GAAG,GAAG,QAAQ,EAAE,CAO/C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_types.d.ts","sourceRoot":"","sources":["../../../../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X,IAAI"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fn.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/expect/1.0.5/fn.ts"],"names":[],"mappings":"AAyBA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,wBAAgB,EAAE,CAAC,GAAG,KAAK,EAAE,QAAQ,EAAE,GAAG,QAAQ,CAsCjD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mod.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/expect/1.0.5/mod.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiFG;AACH,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC"}
|