@angular-wave/angular.ts 0.0.36 → 0.0.37

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.
Files changed (94) hide show
  1. package/dist/angular-ts.esm.js +1 -1
  2. package/dist/angular-ts.umd.js +1 -1
  3. package/package.json +1 -1
  4. package/playwright.config.ts +1 -1
  5. package/src/angular.spec.js +6 -6
  6. package/src/animations/animate-css-driver.js +1 -1
  7. package/src/animations/animate-queue.js +1 -1
  8. package/src/animations/animation.js +1 -1
  9. package/src/animations/shared.js +1 -1
  10. package/src/binding.spec.js +1 -1
  11. package/src/core/animate/animate.js +1 -1
  12. package/src/core/compile/compile.js +1 -1
  13. package/src/core/compile/compile.spec.js +1 -1
  14. package/src/core/document.spec.js +1 -1
  15. package/src/core/location/location.js +1 -1
  16. package/src/core/prop.spec.js +1 -1
  17. package/src/core/root-element.spec.js +1 -1
  18. package/src/core/sce/sce.js +1 -1
  19. package/src/directive/attrs/attrs.js +1 -1
  20. package/src/directive/attrs/attrs.spec.js +1 -1
  21. package/src/directive/attrs/boolean.spec.js +1 -1
  22. package/src/directive/attrs/element-style.spec.js +1 -1
  23. package/src/directive/attrs/src.html +18 -0
  24. package/src/directive/attrs/src.spec.js +1 -1
  25. package/src/directive/attrs/{srcset.test.js → src.test.js} +1 -1
  26. package/src/directive/bind/bind.spec.js +1 -1
  27. package/src/directive/change/change.spec.js +1 -1
  28. package/src/directive/class/class.spec.js +1 -2
  29. package/src/directive/cloak/cloak.spec.js +1 -1
  30. package/src/directive/controller/controller.spec.js +1 -1
  31. package/src/directive/events/click.spec.js +1 -1
  32. package/src/directive/events/event.spec.js +1 -1
  33. package/src/directive/form/form.spec.js +1 -1
  34. package/src/directive/if/if.js +3 -1
  35. package/src/directive/if/if.spec.js +1 -1
  36. package/src/directive/include/include.js +1 -1
  37. package/src/directive/include/include.spec.js +1 -1
  38. package/src/directive/init/init.spec.js +1 -1
  39. package/src/directive/input/input.spec.js +1 -1
  40. package/src/directive/list/list.spec.js +1 -1
  41. package/src/directive/model/model.js +1 -1
  42. package/src/directive/model/model.spec.js +1 -1
  43. package/src/directive/model-options/model-options.spec.js +1 -1
  44. package/src/directive/non-bindable/non-bindable.spec.js +1 -1
  45. package/src/directive/options/options.js +1 -1
  46. package/src/directive/options/options.spec.js +1 -1
  47. package/src/directive/ref/href.spec.js +1 -1
  48. package/src/directive/repeat/repeat.js +1 -1
  49. package/src/directive/repeat/repeat.spec.js +1 -1
  50. package/src/directive/script/script.spec.js +1 -1
  51. package/src/directive/select/select.js +1 -1
  52. package/src/directive/select/select.spec.js +1 -1
  53. package/src/directive/show-hide/show-hide.spec.js +1 -1
  54. package/src/directive/style/style.spec.js +1 -1
  55. package/src/directive/switch/switch.js +1 -1
  56. package/src/directive/switch/switch.spec.js +1 -1
  57. package/src/directive/transclude/transclude.js +1 -1
  58. package/src/directive/validators/validators.js +1 -1
  59. package/src/directive/validators/validators.spec.js +1 -1
  60. package/src/exts/aria/aria.html +21 -0
  61. package/src/exts/{aria.js → aria/aria.js} +1 -1
  62. package/src/exts/{aria.spec.js → aria/aria.spec.js} +1 -1
  63. package/src/exts/aria/aria.test.js +11 -0
  64. package/src/exts/messages/messages.html +21 -0
  65. package/src/exts/{messages.js → messages/messages.js} +1 -1
  66. package/src/exts/{messages.spec.js → messages/messages.spec.js} +2 -2
  67. package/src/exts/messages/messages.test.js +11 -0
  68. package/src/filters/filter.spec.js +1 -1
  69. package/src/filters/limit-to.spec.js +1 -1
  70. package/src/injector.spec.js +4 -4
  71. package/src/loader.js +1 -1
  72. package/src/public.js +2 -2
  73. package/src/public.spec.js +2 -2
  74. package/src/router/common/glob.html +18 -0
  75. package/src/router/common/glob.test.js +1 -1
  76. package/src/router/directives/view-directive.js +1 -1
  77. package/src/router/state-directives.spec.js +1 -1
  78. package/src/router/state.spec.js +1 -1
  79. package/src/router/template-factory.spec.js +1 -1
  80. package/src/router/url-service.spec.js +1 -1
  81. package/src/router/view-directive.spec.js +1 -1
  82. package/src/router/view-hook.spec.js +1 -1
  83. package/src/router/view-scroll.spec.js +1 -1
  84. package/src/router/view.spec.js +1 -1
  85. package/src/services/browser.js +1 -1
  86. package/src/services/document.js +1 -1
  87. package/src/shared/jqlite/jqlite.html +18 -0
  88. package/src/{jqLite.js → shared/jqlite/jqlite.js} +2 -2
  89. package/src/{jqlite.spec.js → shared/jqlite/jqlite.spec.js} +7 -7
  90. package/src/shared/jqlite/jqlite.test.js +11 -0
  91. package/src/shared/strings.spec.js +1 -1
  92. package/src/shared/test-utils.js +1 -1
  93. /package/src/exts/{messages.md → messages/messages.md} +0 -0
  94. /package/src/{min-err.spec.js → shared/min-err.spec.js} +0 -0
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@angular-wave/angular.ts",
3
3
  "license": "MIT",
4
- "version": "0.0.36",
4
+ "version": "0.0.37",
5
5
  "type": "module",
6
6
  "main": "dist/angular-ts.esm.js",
7
7
  "browser": "dist/angular-ts.umd.js",
@@ -20,7 +20,7 @@ export default defineConfig({
20
20
  /* Retry on CI only */
21
21
  retries: process.env.CI ? 2 : 0,
22
22
  /* Opt out of parallel tests on CI. */
23
- workers: process.env.CI ? 1 : undefined,
23
+ workers: 1,
24
24
  /* Reporter to use. See https://playwright.dev/docs/test-reporters */
25
25
  reporter: 'html',
26
26
  /* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */
@@ -23,11 +23,11 @@ import {
23
23
  nextUid,
24
24
  nodeName_,
25
25
  snakeCase,
26
- } from "../shared/utils";
27
- import { dealoc, jqLite, startingTag } from "../jqLite";
28
- import { Angular, angularInit } from "../loader";
29
- import { publishExternalAPI } from "../public";
30
- import { createInjector } from "../injector";
26
+ } from "./shared/utils";
27
+ import { dealoc, jqLite, startingTag } from "./shared/jqlite/jqlite";
28
+ import { Angular, angularInit } from "./loader";
29
+ import { publishExternalAPI } from "./public";
30
+ import { createInjector } from "./injector";
31
31
 
32
32
  describe("angular", () => {
33
33
  let element, document, module, injector, $rootScope, $compile;
@@ -1482,7 +1482,7 @@ describe("angular", () => {
1482
1482
  testForEachSpec(2, "12");
1483
1483
  });
1484
1484
 
1485
- it("should follow the ES spec when called with jQuery/jqLite", () => {
1485
+ it("should follow the ES spec when called with jQuery/shared/jqlite/jqlite", () => {
1486
1486
  testForEachSpec(2, jqLite("<span>a</span><span>b</span>"));
1487
1487
  });
1488
1488
 
@@ -1,4 +1,4 @@
1
- import { jqLite } from "../jqLite";
1
+ import { jqLite } from "../shared/jqlite/jqlite";
2
2
  import { forEach, isString } from "../shared/utils";
3
3
  import { concatWithSpace, getDomNode } from "./shared";
4
4
 
@@ -1,4 +1,4 @@
1
- import { jqLite } from "../jqLite";
1
+ import { jqLite } from "../shared/jqlite/jqlite";
2
2
  import {
3
3
  isUndefined,
4
4
  forEach,
@@ -1,4 +1,4 @@
1
- import { jqLite } from "../jqLite";
1
+ import { jqLite } from "../shared/jqlite/jqlite";
2
2
  import { forEach, mergeClasses } from "../shared/utils";
3
3
  import {
4
4
  NG_ANIMATE_CLASSNAME,
@@ -1,5 +1,5 @@
1
1
  import { forEach, isString, minErr, extend } from "../shared/utils";
2
- import { jqLite } from "../jqLite";
2
+ import { jqLite } from "../shared/jqlite/jqlite";
3
3
 
4
4
  export const ADD_CLASS_SUFFIX = "-add";
5
5
  export const REMOVE_CLASS_SUFFIX = "-remove";
@@ -1,4 +1,4 @@
1
- import { jqLite, dealoc } from "../jqLite";
1
+ import { jqLite, dealoc } from "../shared/jqlite/jqlite";
2
2
  import { publishExternalAPI } from "../public";
3
3
  import { createInjector } from "../injector";
4
4
  import { browserTrigger } from "./test-utils";
@@ -6,7 +6,7 @@ import {
6
6
  minErr,
7
7
  extend,
8
8
  } from "../../shared/utils";
9
- import { jqLite } from "../../jqLite";
9
+ import { jqLite } from "../../shared/jqlite/jqlite";
10
10
 
11
11
  const $animateMinErr = minErr("$animate");
12
12
  const NG_ANIMATE_CLASSNAME = "ng-animate";
@@ -3,7 +3,7 @@ import {
3
3
  getBooleanAttrName,
4
4
  isTextNode,
5
5
  startingTag,
6
- } from "../../jqLite";
6
+ } from "../../shared/jqlite/jqlite";
7
7
  import { identifierForController } from "../controller/controller";
8
8
  import { TTL } from "../scope/scope";
9
9
  import {
@@ -1,6 +1,6 @@
1
1
  import { publishExternalAPI } from "../../public";
2
2
  import { createInjector } from "../../injector";
3
- import { dealoc, JQLite } from "../../jqLite";
3
+ import { dealoc, JQLite } from "../../shared/jqlite/jqlite";
4
4
  import {
5
5
  forEach,
6
6
  isFunction,
@@ -1,6 +1,6 @@
1
1
  import { publishExternalAPI } from "../../public";
2
2
  import { createInjector } from "../../injector";
3
- import { jqLite } from "../../jqLite";
3
+ import { jqLite } from "../../shared/jqlite/jqlite";
4
4
 
5
5
  describe("$document", () => {
6
6
  let $document, $httpBackend, $http, $$isDocumentHidden;
@@ -1,4 +1,4 @@
1
- import { jqLite } from "../../jqLite";
1
+ import { jqLite } from "../../shared/jqlite/jqlite";
2
2
  import { urlResolve } from "../url-utils/url-utils";
3
3
  import {
4
4
  encodeUriSegment,
@@ -1,6 +1,6 @@
1
1
  import { publishExternalAPI } from "../../public";
2
2
  import { createInjector } from "../../injector";
3
- import { jqLite } from "../../jqLite";
3
+ import { jqLite } from "../../shared/jqlite/jqlite";
4
4
  import { valueFn } from "../../shared/utils";
5
5
 
6
6
  describe("ngProp*", () => {
@@ -1,4 +1,4 @@
1
- import { jqLite, dealoc } from "../../jqLite";
1
+ import { jqLite, dealoc } from "../../shared/jqlite/jqlite";
2
2
  import { Angular } from "../../loader";
3
3
  import { publishExternalAPI } from "../../public";
4
4
 
@@ -14,7 +14,7 @@ import {
14
14
  shallowCopy,
15
15
  } from "../../shared/utils";
16
16
 
17
- import { snakeToCamel } from "../../jqLite";
17
+ import { snakeToCamel } from "../../shared/jqlite/jqlite";
18
18
 
19
19
  const $sceMinErr = minErr("$sce");
20
20
 
@@ -1,4 +1,4 @@
1
- import { BOOLEAN_ATTR } from "../../jqLite";
1
+ import { BOOLEAN_ATTR } from "../../shared/jqlite/jqlite";
2
2
  import { forEach, directiveNormalize } from "../../shared/utils";
3
3
  import { ALIASED_ATTR } from "../../shared/constants";
4
4
 
@@ -1,6 +1,6 @@
1
1
  import { publishExternalAPI } from "../../public";
2
2
  import { createInjector } from "../../injector";
3
- import { dealoc, jqLite } from "../../jqLite";
3
+ import { dealoc, jqLite } from "../../shared/jqlite/jqlite";
4
4
 
5
5
  describe("ngSrcset", () => {
6
6
  let $scope;
@@ -1,6 +1,6 @@
1
1
  import { publishExternalAPI } from "../../public";
2
2
  import { createInjector } from "../../injector";
3
- import { dealoc, jqLite } from "../../jqLite";
3
+ import { dealoc, jqLite } from "../../shared/jqlite/jqlite";
4
4
 
5
5
  describe("boolean attr directives", () => {
6
6
  let element, $rootScope, $compile, $rootElement;
@@ -1,6 +1,6 @@
1
1
  import { publishExternalAPI } from "../../public";
2
2
  import { createInjector } from "../../injector";
3
- import { dealoc, jqLite } from "../../jqLite";
3
+ import { dealoc, jqLite } from "../../shared/jqlite/jqlite";
4
4
 
5
5
  describe("style", () => {
6
6
  let $rootScope;
@@ -0,0 +1,18 @@
1
+ <!doctype html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <title>AngularTS Test Runner</title>
6
+
7
+ <link rel="shortcut icon" type="image/png" href="/images/favicon.ico" />
8
+ <link rel="stylesheet" href="/jasmine/jasmine-5.1.2/jasmine.css" />
9
+ <script src="/jasmine/jasmine-5.1.2/jasmine.js"></script>
10
+ <script src="/jasmine/jasmine-5.1.2/jasmine-html.js"></script>
11
+ <script src="/jasmine/jasmine-5.1.2/boot0.js"></script>
12
+ <script src="/jasmine/jasmine-5.1.2/boot1.js"></script>
13
+ <script type="module" src="/src/directive/attrs/src.spec.js"></script>
14
+ </head>
15
+ <body>
16
+ <div id="dummy"></div>
17
+ </body>
18
+ </html>
@@ -1,6 +1,6 @@
1
1
  import { publishExternalAPI } from "../../public";
2
2
  import { createInjector } from "../../injector";
3
- import { dealoc, jqLite } from "../../jqLite";
3
+ import { dealoc, jqLite } from "../../shared/jqlite/jqlite";
4
4
 
5
5
  describe("ngSrc", () => {
6
6
  let $scope;
@@ -1,6 +1,6 @@
1
1
  import { test, expect } from "@playwright/test";
2
2
 
3
- const TEST_URL = "src/directive/srcset/srcset.html";
3
+ const TEST_URL = "src/directive/attrs/src.html";
4
4
 
5
5
  test("unit tests contain no errors", async ({ page }) => {
6
6
  await page.goto(TEST_URL);
@@ -1,6 +1,6 @@
1
1
  import { publishExternalAPI } from "../../public";
2
2
  import { createInjector } from "../../injector";
3
- import { dealoc, jqLite } from "../../jqLite";
3
+ import { dealoc, jqLite } from "../../shared/jqlite/jqlite";
4
4
 
5
5
  describe("ng-bind", () => {
6
6
  let $rootScope;
@@ -1,5 +1,5 @@
1
1
  import { createInjector } from "../../injector";
2
- import { dealoc } from "../../jqLite";
2
+ import { dealoc } from "../../shared/jqlite/jqlite";
3
3
  import { publishExternalAPI } from "../../public";
4
4
 
5
5
  describe("ngChange", () => {
@@ -1,4 +1,4 @@
1
- import { dealoc, jqLite } from "../../jqLite";
1
+ import { dealoc, jqLite } from "../../shared/jqlite/jqlite";
2
2
  import { publishExternalAPI } from "../../public";
3
3
  import { createInjector } from "../../injector";
4
4
  import { valueFn } from "../../shared/utils";
@@ -246,7 +246,6 @@ describe("ngClass", () => {
246
246
  '<ul><li ng-repeat="i in [0,1]" class="existing" ng-class-odd="\'odd\'" ng-class-even="\'even\'"></li><ul>',
247
247
  )($rootScope);
248
248
  $rootScope.$digest();
249
- debugger
250
249
  const e1 = jqLite(element[0].childNodes[1]);
251
250
  const e2 = jqLite(element[0].childNodes[3]);
252
251
  expect(e1[0].classList.contains("existing")).toBeTruthy();
@@ -1,4 +1,4 @@
1
- import { dealoc, jqLite } from "../../jqLite";
1
+ import { dealoc, jqLite } from "../../shared/jqlite/jqlite";
2
2
  import { publishExternalAPI } from "../../public";
3
3
  import { createInjector } from "../../injector";
4
4
 
@@ -1,6 +1,6 @@
1
1
  import { publishExternalAPI } from "../../public";
2
2
  import { createInjector } from "../../injector";
3
- import { dealoc, jqLite } from "../../jqLite";
3
+ import { dealoc, jqLite } from "../../shared/jqlite/jqlite";
4
4
  import { bind } from "../../shared/utils";
5
5
  import { Angular } from "../../loader";
6
6
 
@@ -1,4 +1,4 @@
1
- import { dealoc, jqLite } from "../../jqLite";
1
+ import { dealoc, jqLite } from "../../shared/jqlite/jqlite";
2
2
  import { publishExternalAPI } from "../../public";
3
3
  import { createInjector } from "../../injector";
4
4
 
@@ -1,6 +1,6 @@
1
1
  import { publishExternalAPI } from "../../public";
2
2
  import { createInjector } from "../../injector";
3
- import { dealoc, jqLite } from "../../jqLite";
3
+ import { dealoc, jqLite } from "../../shared/jqlite/jqlite";
4
4
  import { Angular } from "../../loader";
5
5
 
6
6
  describe("event directives", () => {
@@ -1,6 +1,6 @@
1
1
  import { publishExternalAPI } from "../../public";
2
2
  import { createInjector } from "../../injector";
3
- import { dealoc, jqLite } from "../../jqLite";
3
+ import { dealoc, jqLite } from "../../shared/jqlite/jqlite";
4
4
  import { FormController } from "../../directive/form/form";
5
5
  import { Angular } from "../../loader";
6
6
 
@@ -1,4 +1,4 @@
1
- import { getBlockNodes } from "../../jqLite";
1
+ import { getBlockNodes } from "../../shared/jqlite/jqlite";
2
2
 
3
3
  export const ngIfDirective = [
4
4
  "$animate",
@@ -17,6 +17,8 @@ export const ngIfDirective = [
17
17
  if (!childScope) {
18
18
  $transclude((clone, newScope) => {
19
19
  childScope = newScope;
20
+ // TODO removing this breaks messages test
21
+ clone[clone.length++] = document.createComment("");
20
22
  // Note: We only need the first/last node of the cloned nodes.
21
23
  // However, we need to keep the reference to the jqlite wrapper as it might be changed later
22
24
  // by a directive with templateUrl when its template arrives.
@@ -1,4 +1,4 @@
1
- import { dealoc, jqLite } from "../../jqLite";
1
+ import { dealoc, jqLite } from "../../shared/jqlite/jqlite";
2
2
  import { forEach, valueFn } from "../../shared/utils";
3
3
  import { publishExternalAPI } from "../../public";
4
4
  import { createInjector } from "../../injector";
@@ -1,5 +1,5 @@
1
1
  import { isDefined } from "../../shared/utils";
2
- import { jqLiteBuildFragment } from "../../jqLite";
2
+ import { jqLiteBuildFragment } from "../../shared/jqlite/jqlite";
3
3
 
4
4
  export const ngIncludeDirective = [
5
5
  "$templateRequest",
@@ -1,4 +1,4 @@
1
- import { dealoc, jqLite } from "../../jqLite";
1
+ import { dealoc, jqLite } from "../../shared/jqlite/jqlite";
2
2
  import { Angular } from "../../loader";
3
3
  import { createInjector } from "../../injector";
4
4
  import { publishExternalAPI } from "../../public";
@@ -1,4 +1,4 @@
1
- import { dealoc, jqLite } from "../../jqLite";
1
+ import { dealoc, jqLite } from "../../shared/jqlite/jqlite";
2
2
  import { publishExternalAPI } from "../../public";
3
3
  import { createInjector } from "../../injector";
4
4
  import { Angular } from "../../loader";
@@ -1,6 +1,6 @@
1
1
  import { publishExternalAPI } from "../../public";
2
2
  import { createInjector } from "../../injector";
3
- import { dealoc, jqLite } from "../../jqLite";
3
+ import { dealoc, jqLite } from "../../shared/jqlite/jqlite";
4
4
  import { EMAIL_REGEXP, ISO_DATE_REGEXP, URL_REGEXP } from "./input";
5
5
  import { forEach } from "../../shared/utils";
6
6
 
@@ -1,4 +1,4 @@
1
- import { dealoc, jqLite } from "../../jqLite";
1
+ import { dealoc, jqLite } from "../../shared/jqlite/jqlite";
2
2
  import { publishExternalAPI } from "../../public";
3
3
  import { createInjector } from "../../injector";
4
4
 
@@ -22,7 +22,7 @@ import {
22
22
  setupValidity,
23
23
  } from "../form/form";
24
24
  import { defaultModelOptions } from "../model-options/model-options";
25
- import { startingTag } from "../../jqLite";
25
+ import { startingTag } from "../../shared/jqlite/jqlite";
26
26
  import { ScopePhase } from "../../core/scope/scope";
27
27
 
28
28
  export const ngModelMinErr = minErr("ngModel");
@@ -1,4 +1,4 @@
1
- import { jqLite, dealoc } from "../../jqLite";
1
+ import { jqLite, dealoc } from "../../shared/jqlite/jqlite";
2
2
  import { publishExternalAPI } from "../../public";
3
3
  import { createInjector } from "../../injector";
4
4
  import { NgModelController } from "./model";
@@ -1,5 +1,5 @@
1
1
  import { defaultModelOptions } from "../../directive/model-options/model-options";
2
- import { dealoc, jqLite } from "../../jqLite";
2
+ import { dealoc, jqLite } from "../../shared/jqlite/jqlite";
3
3
  import { publishExternalAPI } from "../../public";
4
4
  import { createInjector } from "../../injector";
5
5
  import { valueFn } from "../../shared/utils";
@@ -1,4 +1,4 @@
1
- import { dealoc, jqLite } from "../../jqLite";
1
+ import { dealoc, jqLite } from "../../shared/jqlite/jqlite";
2
2
  import { publishExternalAPI } from "../../public";
3
3
  import { createInjector } from "../../injector";
4
4
 
@@ -1,4 +1,4 @@
1
- import { jqLite, jqLiteRemove, startingTag } from "../../jqLite";
1
+ import { jqLite, jqLiteRemove, startingTag } from "../../shared/jqlite/jqlite";
2
2
  import {
3
3
  equals,
4
4
  forEach,
@@ -1,5 +1,5 @@
1
1
  import { createInjector } from "../../injector";
2
- import { jqLite, dealoc } from "../../jqLite";
2
+ import { jqLite, dealoc } from "../../shared/jqlite/jqlite";
3
3
  import { publishExternalAPI } from "../../public";
4
4
  import {
5
5
  forEach,
@@ -1,6 +1,6 @@
1
1
  import { publishExternalAPI } from "../../public";
2
2
  import { createInjector } from "../../injector";
3
- import { dealoc, jqLite } from "../../jqLite";
3
+ import { dealoc, jqLite } from "../../shared/jqlite/jqlite";
4
4
  import { isDefined } from "../../shared/utils";
5
5
 
6
6
  describe("ngHref", () => {
@@ -1,5 +1,5 @@
1
1
  import { forEach, minErr, hashKey, isArrayLike } from "../../shared/utils";
2
- import { getBlockNodes } from "../../jqLite";
2
+ import { getBlockNodes } from "../../shared/jqlite/jqlite";
3
3
 
4
4
  export const ngRepeatDirective = [
5
5
  "$parse",
@@ -1,6 +1,6 @@
1
1
  import { publishExternalAPI } from "../../public";
2
2
  import { createInjector } from "../../injector";
3
- import { dealoc, jqLite } from "../../jqLite";
3
+ import { dealoc, jqLite } from "../../shared/jqlite/jqlite";
4
4
  import { forEach, valueFn } from "../../shared/utils";
5
5
  import { Angular } from "../../loader";
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { publishExternalAPI } from "../../public";
2
2
  import { createInjector } from "../../injector";
3
- import { dealoc, jqLite } from "../../jqLite";
3
+ import { dealoc, jqLite } from "../../shared/jqlite/jqlite";
4
4
 
5
5
  describe("scriptDirective", () => {
6
6
  let $rootScope;
@@ -1,4 +1,4 @@
1
- import { jqLite } from "../../jqLite";
1
+ import { jqLite } from "../../shared/jqlite/jqlite";
2
2
  import {
3
3
  assertNotHasOwnProperty,
4
4
  equals,
@@ -1,6 +1,6 @@
1
1
  import { publishExternalAPI } from "../../public";
2
2
  import { createInjector } from "../../injector";
3
- import { dealoc, jqLite } from "../../jqLite";
3
+ import { dealoc, jqLite } from "../../shared/jqlite/jqlite";
4
4
  import { forEach, hashKey, equals, isNumberNaN } from "../../shared/utils";
5
5
  import { browserTrigger } from "../../shared/test-utils";
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { publishExternalAPI } from "../../public";
2
2
  import { createInjector } from "../../injector";
3
- import { dealoc, jqLite } from "../../jqLite";
3
+ import { dealoc, jqLite } from "../../shared/jqlite/jqlite";
4
4
 
5
5
  describe("ngShow / ngHide", () => {
6
6
  let $scope;
@@ -1,6 +1,6 @@
1
1
  import { publishExternalAPI } from "../../public";
2
2
  import { createInjector } from "../../injector";
3
- import { dealoc, jqLite } from "../../jqLite";
3
+ import { dealoc, jqLite } from "../../shared/jqlite/jqlite";
4
4
 
5
5
  describe("ng-style", () => {
6
6
  let $scope;
@@ -1,5 +1,5 @@
1
1
  import { forEach } from "../../shared/utils";
2
- import { getBlockNodes } from "../../jqLite";
2
+ import { getBlockNodes } from "../../shared/jqlite/jqlite";
3
3
 
4
4
  export const ngSwitchDirective = [
5
5
  "$animate",
@@ -1,6 +1,6 @@
1
1
  import { publishExternalAPI } from "../../public";
2
2
  import { createInjector } from "../../injector";
3
- import { dealoc, jqLite } from "../../jqLite";
3
+ import { dealoc, jqLite } from "../../shared/jqlite/jqlite";
4
4
 
5
5
  describe("ngSwitch", () => {
6
6
  let $scope;
@@ -1,5 +1,5 @@
1
1
  import { minErr } from "../../shared/utils";
2
- import { startingTag } from "../../jqLite";
2
+ import { startingTag } from "../../shared/jqlite/jqlite";
3
3
 
4
4
  /**
5
5
  * @ngdoc directive
@@ -6,7 +6,7 @@ import {
6
6
  isUndefined,
7
7
  } from "../../shared/utils";
8
8
  import { REGEX_STRING_REGEXP } from "./../attrs/attrs";
9
- import { startingTag } from "../../jqLite";
9
+ import { startingTag } from "../../shared/jqlite/jqlite";
10
10
 
11
11
  /**
12
12
  * @ngdoc directive
@@ -1,6 +1,6 @@
1
1
  import { publishExternalAPI } from "../../public";
2
2
  import { createInjector } from "../../injector";
3
- import { dealoc, jqLite } from "../../jqLite";
3
+ import { dealoc, jqLite } from "../../shared/jqlite/jqlite";
4
4
 
5
5
  describe("validators", () => {
6
6
  let $rootScope;
@@ -0,0 +1,21 @@
1
+ <!doctype html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <title>AngularTS Test Runner</title>
6
+
7
+ <link rel="shortcut icon" type="image/png" href="/images/favicon.ico" />
8
+ <link rel="stylesheet" href="/jasmine/jasmine-5.1.2/jasmine.css" />
9
+ <script src="/jasmine/jasmine-5.1.2/jasmine.js"></script>
10
+ <script src="/jasmine/jasmine-5.1.2/jasmine-html.js"></script>
11
+ <script src="/jasmine/jasmine-5.1.2/boot0.js"></script>
12
+ <script src="/jasmine/jasmine-5.1.2/boot1.js"></script>
13
+ <script
14
+ type="module"
15
+ src="/src/exts/aria/aria.spec.js"
16
+ ></script>
17
+ </head>
18
+ <body>
19
+ <div id="dummy"></div>
20
+ </body>
21
+ </html>
@@ -1,4 +1,4 @@
1
- import { extend } from "../shared/utils";
1
+ import { extend } from "../../shared/utils";
2
2
 
3
3
  /**
4
4
  * @ngdoc module
@@ -1,6 +1,6 @@
1
1
  import { createInjector } from "../../injector";
2
2
  import { publishExternalAPI } from "../../public";
3
- import { dealoc, jqLite } from "../../jqLite";
3
+ import { dealoc, jqLite } from "../../shared/jqlite/jqlite";
4
4
 
5
5
  describe("$aria", () => {
6
6
  let scope;
@@ -0,0 +1,11 @@
1
+ import { test, expect } from "@playwright/test";
2
+
3
+ const TEST_URL = "src/exts/aria/aria.html";
4
+
5
+ test("unit tests contain no errors", async ({ page }) => {
6
+ await page.goto(TEST_URL);
7
+ await page.content();
8
+ await expect(page.locator(".jasmine-overall-result")).toHaveText(
9
+ /0 failures/,
10
+ );
11
+ });
@@ -0,0 +1,21 @@
1
+ <!doctype html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <title>AngularTS Test Runner</title>
6
+
7
+ <link rel="shortcut icon" type="image/png" href="/images/favicon.ico" />
8
+ <link rel="stylesheet" href="/jasmine/jasmine-5.1.2/jasmine.css" />
9
+ <script src="/jasmine/jasmine-5.1.2/jasmine.js"></script>
10
+ <script src="/jasmine/jasmine-5.1.2/jasmine-html.js"></script>
11
+ <script src="/jasmine/jasmine-5.1.2/boot0.js"></script>
12
+ <script src="/jasmine/jasmine-5.1.2/boot1.js"></script>
13
+ <script
14
+ type="module"
15
+ src="/src/exts/messages/messages.spec.js"
16
+ ></script>
17
+ </head>
18
+ <body>
19
+ <div id="dummy"></div>
20
+ </body>
21
+ </html>
@@ -1,4 +1,4 @@
1
- import { forEach, isString } from "../shared/utils";
1
+ import { forEach, isString } from "../../shared/utils";
2
2
 
3
3
  export function initMessageModule() {
4
4
  window.angular