Commit f5e46c9
authored
chore: move cli/tests/ -> tests/ (denoland#22369)
This looks like a massive PR, but it's only a move from cli/tests ->
tests, and updates of relative paths for files.
This is the first step towards aggregate all of the integration test
files under tests/, which will lead to a set of integration tests that
can run without the CLI binary being built.
While we could leave these tests under `cli`, it would require us to
keep a more complex directory structure for the various test runners. In
addition, we have a lot of complexity to ignore various test files in
the `cli` project itself (cargo publish exclusion rules, autotests =
false, etc).
And finally, the `tests/` folder will eventually house the `test_ffi`,
`test_napi` and other testing code, reducing the size of the root repo
directory.
For easier review, the extremely large and noisy "move" is in the first
commit (with no changes -- just a move), while the remainder of the
changes to actual files is in the second commit.1 parent d2477f7 commit f5e46c9
File tree
3,449 files changed
+273
-280
lines changed- cli
- bench
- tests
- config
- node_compat
- testdata
- coverage/no_transpiled_lines
- run/node_prefix_missing
- test_util/src
- servers
- tests
- config
- integration
- node_compat
- test
- common
- fixtures
- keys
- internet
- parallel
- pseudo-tty
- pummel
- sequential
- testdata
- assets
- benches
- bench
- collect
- ignore
- include
- filter
- bundle
- bare_imports
- check_local_by_default
- decorators
- file_extensions
- import_map
- lockfile
- cache
- json_import
- cert
- check
- all
- cache_config_on_off
- deno_not_found
- dts
- exclude_option
- ignored
- excluded_file_specified
- lib
- export_equals_declaration_file
- jsx_not_checked
- jsximportsource_importmap_config
- module_detection_force
- no_error_truncation
- node_builtin_modules
- npm_install_diagnostics
- types_dts
- commonjs
- node_modules
- colorette
- imports_exports
- left-pad
- compile
- dynamic_imports_tmp_lit
- other
- sub
- sub
- dynamic_imports
- node_modules_symlink_outside
- npm_fs
- vfs_implicit_read_permission
- workers
- coverage
- invalid_cache
- multifile
- multisource
- baz
- no_npm_coverage
- no_snaps_included
- __snapshots__
- no_tests_included
- no_transpiled_lines
- doc
- module
- dynamic_import
- encoding
- eval
- file_extensions
- fmt
- glob
- data
- nested
- fizz
- foo
- pages
- parse_error
- regular
- with_config
- subdir
- import_attributes
- import_maps
- lodash
- moment
- scope
- info
- data_null_error
- json_output
- recursive_imports
- with_config
- with_import_map
- inspector
- install
- jsr
- deps
- module_graph
- no_module_graph
- registry/@denotest
- add
- 1.0.0
- deps
- 1.0.0
- module_graph
- 1.4.0
- no_module_graph
- 0.1.0
- 0.1.1
- 0.2.0
- subset_type_graph_invalid
- 0.1.0
- subset_type_graph
- 0.1.0
- subset_type_graph
- version_not_found
- jsx
- jsx-dev-runtime
- jsx-precompile
- jsx-runtime
- jupyter
- lint
- glob
- data
- nested
- fizz
- foo
- pages
- watch
- with_config
- without_config
- lockfile
- basic
- no_dts
- lsp
- registries
- malformed_config
- module_graph
- node
- require_esm_error
- npm
- binary_package
- builtin_module_module
- cached_only_after_first_run
- cached_only
- check_errors
- child_process_fork_test
- cjs-invalid-name-exports
- cjs_local_global_decls
- cjs_module_export_assignment_number
- cjs_module_export_assignment
- cjs_reexport_collision
- cjs_require_esm_error
- cjs_require_esm_mjs_error
- cjs_sub_path
- cjs_this_in_exports
- cjs_with_deps
- cjs_yargs
- compare_globals
- conditional_exports
- create_require
- d_ext
- different_nested_dep
- directory_import
- dual_cjs_esm
- dynamic_import_deno_ts_from_npm
- dynamic_import_invalid_package_name
- dynamic_import_json
- dynamic_import_reload_same_package
- dynamic_import
- env_var_re_export
- error_version_after_subpath
- esm_import_cjs_default
- esm
- file_dts_dmts_dcts
- import_json
- import_map
- imports_package_json
- info
- invalid_package_name
- local_dir_resolves_symlinks
- lock_file
- mixed_case_package_name
- no_npm_after_first_run
- no_types_cjs
- no_types_in_conditional_exports
- node_modules_deno_node_modules
- node_modules_import
- nonexistent_file
- peer_deps_with_copied_folders
- permissions_outside_package
- foo
- registry
- @babel/parser
- @denotest
- CAPITALS/1.0.0
- MixedCase/1.0.0
- binary-package-linux/1.0.0
- binary-package-mac/1.0.0
- binary-package-windows/1.0.0
- binary-package/1.0.0
- bin
- 0.5.0
- 0.6.0
- 1.0.0
- breaking-change-between-versions
- 1.0.0
- 2.0.0
- builtin-module-module/1.0.0
- check-error/1.0.0
- other_dir
- sub_dir
- child-process-fork/1.0.0
- cjs-default-export/1.0.0
- cjs-invalid-name-exports/1.0.0
- cjs-local-global-decls/1.0.0
- cjs-module-export-assignment-number/1.0.0
- cjs-module-export-assignment/1.0.0
- cjs-reexport-collision/1.0.0
- cjs-require-esm-error/1.0.0
- esm
- cjs-this-in-exports/1.0.0
- cjs-with-file-stem/1.0.0
- conditional-exports-strict/1.0.0
- cjs
- esm
- client
- conditional-exports/1.0.0
- cjs
- esm
- client
- create-require/1.0.0
- d-ext/1.0.0
- different-nested-dep-child
- 1.0.0
- 2.0.0
- different-nested-dep/1.0.0
- dual-cjs-esm-dep-missing/1.0.0
- dual-cjs-esm-dep/1.0.0
- dual-cjs-esm/1.0.0
- cjs
- subpath
- dynamic-import/1.0.0
- env-var-re-export/1.0.0
- esm-basic/1.0.0
- esm-import-cjs-default/1.0.0
- file-dts-dmts-dcts/1.0.0
- globals/1.0.0
- imports-package-json/1.0.0
- sub_path
- no-types-cjs/1.0.0
- no-types-in-conditional-exports/1.0.0
- lib
- non-existent-dep-version/1.0.0
- non-existent-dep/1.0.0
- peer-dep-test-child
- 1.0.0
- 2.0.0
- peer-dep-test-grandchild/1.0.0
- dist
- peer-dep-test-peer
- 1.0.0
- 2.0.0
- permissions-outside-package/1.0.0
- require-added-nm-folder/1.0.0
- reserved-word-exports/1.0.0
- special-chars-in-bin-name/1.0.0
- sub-folders/1.0.0
- folder_index_js
- folder_no_index
- types-ambient/1.0.0
- types-entry-value-not-exists/1.0.0
- dist
- types-exports-import-types/1.0.0
- dist
- types-exports-subpaths/1.0.0
- dist
- types-no-types-entry/1.0.0
- dist
- types_imported/1.0.0
- typescript-file/1.0.0
- types/1.0.0
- @ljharb/has-package-exports-patterns
- @types/node
- @vue
- compiler-core
- compiler-dom
- compiler-sfc
- compiler-ssr
- reactivity-transform
- reactivity
- runtime-core
- runtime-dom
- server-renderer
- ajv-formats
- ajv
- ansi-regex
- ansi-styles
- asn1
- assertion-error
- autoprefixer
- bcrypt-pbkdf
- browserslist
- buildcheck
- camelcase
- caniuse-lite
- chai
- chalk
- check-error
- cliui
- color-convert
- color-name
- cowsay
- cpu-features
- crypto-js
- csstype
- decamelize
- deep-eql
- define-properties
- electron-to-chromium
- emoji-regex
- escalade
- estree-walker
- fast-deep-equal
- find-up
- fraction.js
- fs-extra
- function-bind
- get-caller-file
- get-func-name
- get-intrinsic
- get-stdin
- globals
- graceful-fs
- has-flag
- has-package-exports
- has-property-descriptors
- has-symbols
- has
- is-fullwidth-code-point
- js-tokens
- json-schema-traverse
- jsonfile
- locate-path
- loose-envify
- loupe
- magic-string
- mkdirp
- nanoid
- nan
- node-releases
- normalize-range
- object-keys
- p-limit
- p-locate
- p-try
- path-exists
- pathval
- picocolors
- postcss-value-parser
- postcss
- punycode
- react-dom
- react
- require-directory
- require-from-string
- require-main-filename
- safer-buffer
- scheduler
- set-blocking
- source-map-js
- source-map
- sourcemap-codec
- ssh2
- string-width
- strip-ansi
- strip-final-newline
- supports-color
- supports-esm
- tweetnacl
- type-detect
- type-fest
- universalify
- update-browserslist-db
- uri-js
- vue
- which-module
- wrap-ansi
- y18n
- yargs-parser
- yargs
- reload
- remote_npm_specifier
- require_added_nm_folder
- require_json
- require_main
- require_resolve_url
- reserved_word_exports
- run_existing_npm_package_with_subpath
- run_existing_npm_package
- sub_paths
- tarball_with_global_header
- translate_cjs_to_esm
- types_ambient_module
- types_entry_value_not_exists
- types_exports_import_types
- types_no_types_entry
- typescript_file_in_package
- types
- package_json
- basic
- deno_json
- invalid_value
- publish
- deno_jsonc
- invalid_fast_check
- invalid_import
- invalid_path
- javascript_decl_file
- javascript_missing_decl_file
- missing_deno_json
- node_specifier
- successful
- symlink
- unanalyzable_dynamic_import
- workspace
- bar
- foo
- repl
- runtime
- run
- auto_discover_lockfile
- check_js_points_to_ts
- cjs_imports
- config_file_lock_boolean
- config_types
- config
- decorators
- experimental
- no_check
- runtime
- ts
- tc39_proposal
- dynamic_import_already_rejected
- dynamic_import_async_error
- dynamic_import_concurrent_non_statically_analyzable
- explicit_resource_management
- fetch
- followup_dyn_import_resolves
- import_compression
- import_maps
- import_meta
- jsx_precompile
- lock_only_http_and_https
- lock_write_fetch
- main_module
- nested_error
- no_check_imports_not_used_as_values
- no_lock_flag
- node_builtin_modules
- node_prefix_missing
- onload
- remote_type_error
- stdio_streams_are_locked_in_permission_prompt
- top_level_await
- nested
- tla2
- tla3
- tla
- ts_import_from_js
- tsx_imports
- unhandled_rejection_dynamic_import2
- unhandled_rejection_dynamic_import
- unsafe_proto
- unstable_temporal_api
- warn_on_deprecated_api
- webstorage
- with_config
- with_package_json
- no_deno_json
- sub_dir
- npm_binary
- with_stop
- some/nested
- dir
- workspaces
- basic
- bar
- fizz
- some_mod
- foo
- bar
- fizz
- member_outside_root_dir
- foo
- bar
- fizz
- nested_member
- bar
- fizz
- some_mod
- foo
- bar
- fizz
- subdir
- CAPITALS
- redirects
- subdir2
- task
- both
- deno_json_pre_post
- deno_json
- npx
- package_json_node_modules_dir_false
- package_json_post_only
- package_json_post
- package_json_pre_only
- package_json_pre_post
- package_json_pre
- package_json
- test
- collect
- ignore
- include
- doc_only
- filter
- glob
- data
- nested
- fizz
- foo
- pages
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
3,449 files changed
+273
-280
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
| |||
32 | 31 | | |
33 | 32 | | |
34 | 33 | | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
| 52 | + | |
57 | 53 | | |
58 | 54 | | |
59 | | - | |
| 55 | + | |
60 | 56 | | |
61 | 57 | | |
62 | 58 | | |
63 | 59 | | |
64 | | - | |
| 60 | + | |
65 | 61 | | |
66 | 62 | | |
67 | 63 | | |
| |||
70 | 66 | | |
71 | 67 | | |
72 | 68 | | |
73 | | - | |
| 69 | + | |
74 | 70 | | |
75 | 71 | | |
76 | 72 | | |
| |||
79 | 75 | | |
80 | 76 | | |
81 | 77 | | |
82 | | - | |
| 78 | + | |
83 | 79 | | |
84 | 80 | | |
85 | 81 | | |
| |||
88 | 84 | | |
89 | 85 | | |
90 | 86 | | |
91 | | - | |
| 87 | + | |
92 | 88 | | |
93 | 89 | | |
94 | 90 | | |
| |||
97 | 93 | | |
98 | 94 | | |
99 | 95 | | |
100 | | - | |
| 96 | + | |
101 | 97 | | |
102 | 98 | | |
103 | 99 | | |
104 | 100 | | |
105 | 101 | | |
106 | | - | |
| 102 | + | |
107 | 103 | | |
108 | 104 | | |
109 | 105 | | |
110 | 106 | | |
111 | | - | |
| 107 | + | |
112 | 108 | | |
113 | 109 | | |
114 | 110 | | |
115 | 111 | | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
| 112 | + | |
120 | 113 | | |
121 | 114 | | |
122 | 115 | | |
123 | 116 | | |
124 | | - | |
| 117 | + | |
125 | 118 | | |
126 | 119 | | |
127 | 120 | | |
| |||
314 | 307 | | |
315 | 308 | | |
316 | 309 | | |
317 | | - | |
| 310 | + | |
318 | 311 | | |
319 | 312 | | |
320 | 313 | | |
| |||
This file was deleted.
This file was deleted.
This file was deleted.
Lines changed: 0 additions & 2 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| |||
0 commit comments