qunitx-cli 0.1.2 → 0.5.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/README.md +120 -49
- package/cli.js +1 -1
- package/lib/boilerplates/default-project-config-values.js +2 -2
- package/lib/boilerplates/test.js +5 -4
- package/lib/commands/generate.js +6 -8
- package/lib/commands/help.js +8 -8
- package/lib/commands/init.js +35 -25
- package/lib/commands/run/tests-in-browser.js +97 -67
- package/lib/commands/run.js +165 -55
- package/lib/servers/http.js +59 -44
- package/lib/setup/bind-server-to-port.js +3 -12
- package/lib/setup/browser.js +26 -18
- package/lib/setup/config.js +8 -10
- package/lib/setup/file-watcher.js +23 -6
- package/lib/setup/fs-tree.js +29 -27
- package/lib/setup/keyboard-events.js +7 -4
- package/lib/setup/test-file-paths.js +25 -23
- package/lib/setup/web-server.js +87 -61
- package/lib/setup/write-output-static-files.js +4 -1
- package/lib/tap/display-final-result.js +2 -2
- package/lib/tap/display-test-result.js +32 -14
- package/lib/utils/find-chrome.js +16 -0
- package/lib/utils/find-internal-assets-from-html.js +7 -5
- package/lib/utils/find-project-root.js +1 -2
- package/lib/utils/indent-string.js +6 -6
- package/lib/utils/listen-to-keyboard-key.js +6 -2
- package/lib/utils/parse-cli-flags.js +34 -31
- package/lib/utils/resolve-port-number-for.js +3 -3
- package/lib/utils/run-user-module.js +5 -3
- package/lib/utils/search-in-parent-directories.js +4 -1
- package/lib/utils/time-counter.js +2 -2
- package/package.json +21 -35
- package/vendor/qunit.css +7 -7
- package/vendor/qunit.js +3772 -3324
- package/flake.lock +0 -64
- package/flake.nix +0 -26
package/flake.lock
DELETED
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"nodes": {
|
|
3
|
-
"flake-utils": {
|
|
4
|
-
"locked": {
|
|
5
|
-
"lastModified": 1659877975,
|
|
6
|
-
"narHash": "sha256-zllb8aq3YO3h8B/U0/J1WBgAL8EX5yWf5pMj3G0NAmc=",
|
|
7
|
-
"owner": "numtide",
|
|
8
|
-
"repo": "flake-utils",
|
|
9
|
-
"rev": "c0e246b9b83f637f4681389ecabcb2681b4f3af0",
|
|
10
|
-
"type": "github"
|
|
11
|
-
},
|
|
12
|
-
"original": {
|
|
13
|
-
"owner": "numtide",
|
|
14
|
-
"repo": "flake-utils",
|
|
15
|
-
"type": "github"
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
"napalm": {
|
|
19
|
-
"inputs": {
|
|
20
|
-
"flake-utils": "flake-utils",
|
|
21
|
-
"nixpkgs": [
|
|
22
|
-
"nixpkgs"
|
|
23
|
-
]
|
|
24
|
-
},
|
|
25
|
-
"locked": {
|
|
26
|
-
"lastModified": 1672245824,
|
|
27
|
-
"narHash": "sha256-i596lbPiA/Rfx3DiJiCluxdgxWY7oGSgYMT7OmM+zik=",
|
|
28
|
-
"owner": "nix-community",
|
|
29
|
-
"repo": "napalm",
|
|
30
|
-
"rev": "7c25a05cef52dc405f4688422ce0046ca94aadcf",
|
|
31
|
-
"type": "github"
|
|
32
|
-
},
|
|
33
|
-
"original": {
|
|
34
|
-
"owner": "nix-community",
|
|
35
|
-
"repo": "napalm",
|
|
36
|
-
"type": "github"
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
"nixpkgs": {
|
|
40
|
-
"locked": {
|
|
41
|
-
"lastModified": 1690860117,
|
|
42
|
-
"narHash": "sha256-srkCfjMlg777HxDVMfhkIFgRhhtuZjIOIyR2ejLYK+Y=",
|
|
43
|
-
"owner": "NixOS",
|
|
44
|
-
"repo": "nixpkgs",
|
|
45
|
-
"rev": "96d403ee2479f2070050353b94808209f1352edb",
|
|
46
|
-
"type": "github"
|
|
47
|
-
},
|
|
48
|
-
"original": {
|
|
49
|
-
"owner": "NixOS",
|
|
50
|
-
"ref": "nixpkgs-unstable",
|
|
51
|
-
"repo": "nixpkgs",
|
|
52
|
-
"type": "github"
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
"root": {
|
|
56
|
-
"inputs": {
|
|
57
|
-
"napalm": "napalm",
|
|
58
|
-
"nixpkgs": "nixpkgs"
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
},
|
|
62
|
-
"root": "root",
|
|
63
|
-
"version": 7
|
|
64
|
-
}
|
package/flake.nix
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
description = "A flake for napalm";
|
|
3
|
-
|
|
4
|
-
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
|
5
|
-
inputs.napalm.url = "github:nix-community/napalm";
|
|
6
|
-
|
|
7
|
-
# NOTE: This is optional, but is how to configure napalm's env
|
|
8
|
-
inputs.napalm.inputs.nixpkgs.follows = "nixpkgs";
|
|
9
|
-
|
|
10
|
-
outputs = { self, nixpkgs, napalm }:
|
|
11
|
-
let
|
|
12
|
-
system = "x86_64-linux";
|
|
13
|
-
pkgs = nixpkgs.legacyPackages."${system}";
|
|
14
|
-
in {
|
|
15
|
-
packages."${system}".default = napalm.legacyPackages."${system}".buildPackage ./. {
|
|
16
|
-
nodejs = pkgs.nodejs_20;
|
|
17
|
-
PUPPETEER_SKIP_DOWNLOAD=1;
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
devShells."${system}".default = pkgs.mkShell {
|
|
21
|
-
nativeBuildInputs = with pkgs; [
|
|
22
|
-
nodejs_20
|
|
23
|
-
];
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
}
|