Skip to content

Commit

Permalink
new snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
jfrolich committed Apr 10, 2024
1 parent c705b07 commit a6e9ec4
Show file tree
Hide file tree
Showing 5 changed files with 59 additions and 41 deletions.
14 changes: 7 additions & 7 deletions tests/snapshots/dependency-cycle.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[1/7] 🌴 Building package tree...[1/7] ️✅ Built package tree in 0.00s
[2/7] 🔍 Finding source files...[2/7] ️✅ Found source files in 0.00s
[3/7] 🔍 Reading compile state...[3/7] ️✅ Read compile state 0.00s
[4/7] 🧹 Cleaning up previous build...[4/7] ️✅ Cleaned 0/10 0.00s
[5/7] ️✅ Parsed 1 source files in 0.00s
[6/7] ️✅ Collected deps in 0.00s
[7/7] ️🛑 Compiled 0 modules in 0.00s
[1/7]🌴 Building package tree...[1/7] ️✅ Built package tree in 0.00s
[2/7] 🔍 Finding source files...[2/7] ️✅ Found source files in 0.00s
[3/7] 🔍 Reading compile state...[3/7] ️✅ Read compile state 0.00s
[4/7] 🧹 Cleaning up previous build...[4/7] ️✅ Cleaned 0/10 0.00s
[5/7] ️✅ Parsed 1 source files in 0.00s
[6/7] ️✅ Collected deps in 0.00s
[7/7] ️🛑 Compiled 0 modules in 0.00s

Can't continue... Found a circular dependency in your code:
NewNamespace.NS_alias -> Dep01 -> Dep02 -> NS -> NewNamespace.NS_alias
Expand Down
31 changes: 23 additions & 8 deletions tests/snapshots/remove-file.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,23 @@
[1/7] 🌴 Building package tree...[1/7] ️✅ Built package tree in 0.00s
[2/7] 🔍 Finding source files...[2/7] ️✅ Found source files in 0.00s
[3/7] 🔍 Reading compile state...[3/7] ️✅ Read compile state 0.00s
[4/7] 🧹 Cleaning up previous build...[4/7] ️✅ Cleaned 1/10 0.00s
[5/7] ️✅ Parsed 0 source files in 0.00s
[6/7] ️✅ Collected deps in 0.00s
[7/7] ️✅ Compiled 0 modules in 0.00s
️✅ Finished Compilation in 0.00s
[1/7]🌴 Building package tree...[1/7] ️✅ Built package tree in 0.00s
[2/7] 🔍 Finding source files...[2/7] ️✅ Found source files in 0.00s
[3/7] 🔍 Reading compile state...[3/7] ️✅ Read compile state 0.00s
[4/7] 🧹 Cleaning up previous build...[4/7] ️✅ Cleaned 1/10 0.00s
[5/7] ️✅ Parsed 0 source files in 0.00s
[6/7] ️✅ Collected deps in 0.00s
[7/7] ️🛑 Compiled 1 modules in 0.00s

We've found a bug for you!
/packages/dep01/src/Dep01.res:3:9-17

1 │ let log = () => {
2 │ Js.log("02")
3 │ Dep02.log()
4 │ }
5 │

The module or file Dep02 can't be found.
- If it's a third-party dependency:
- Did you add it to the "bs-dependencies" or "bs-dev-dependencies" in bsconfig.json?
- Did you include the file's directory to the "sources" in bsconfig.json?


Expand Down
19 changes: 10 additions & 9 deletions tests/snapshots/rename-file-with-interface.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
[1/7] 🌴 Building package tree...[1/7] ️✅ Built package tree in 0.00s
[2/7] 🔍 Finding source files...Warning: No implementation file found for interface file (skipping): src/ModuleWithInterface.resi
[2/7] ️✅ Found source files in 0.00s
[3/7] 🔍 Reading compile state...[3/7] ️✅ Read compile state 0.00s
[4/7] 🧹 Cleaning up previous build...[4/7] ️✅ Cleaned 2/10 0.00s
[5/7] ️✅ Parsed 1 source files in 0.00s
[6/7] ️✅ Collected deps in 0.00s
[7/7] ️✅ Compiled 1 modules in 0.00s
️✅ Finished Compilation in 0.00s
[1/7]🌴 Building package tree...[1/7] ️✅ Built package tree in 0.00s
[2/7] 🔍 Finding source files...Warning: No implementation file found for interface file (skipping): src/ModuleWithInterface.resi
[2/7] ️✅ Found source files in 0.00s
[3/7] 🔍 Reading compile state...[3/7] ️✅ Read compile state 0.00s
[4/7] 🧹 Cleaning up previous build...[4/7] ️✅ Cleaned 2/10 0.00s
[5/7] ️✅ Parsed 1 source files in 0.00s
[6/7] ️✅ Collected deps in 0.00s
[7/7] ️✅ Compiled 1 modules in 0.00s

✨ Finished Compilation in 0.00s
Expand Down
17 changes: 9 additions & 8 deletions tests/snapshots/rename-file.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
[1/7] 🌴 Building package tree...[1/7] ️✅ Built package tree in 0.00s
[2/7] 🔍 Finding source files...[2/7] ️✅ Found source files in 0.00s
[3/7] 🔍 Reading compile state...[3/7] ️✅ Read compile state 0.00s
[4/7] 🧹 Cleaning up previous build...[4/7] ️✅ Cleaned 1/10 0.00s
[5/7] ️✅ Parsed 1 source files in 0.00s
[6/7] ️✅ Collected deps in 0.00s
[7/7] ️✅ Compiled 1 modules in 0.00s
️✅ Finished Compilation in 0.00s
[1/7]🌴 Building package tree...[1/7] ️✅ Built package tree in 0.00s
[2/7] 🔍 Finding source files...[2/7] ️✅ Found source files in 0.00s
[3/7] 🔍 Reading compile state...[3/7] ️✅ Read compile state 0.00s
[4/7] 🧹 Cleaning up previous build...[4/7] ️✅ Cleaned 1/10 0.00s
[5/7] ️✅ Parsed 1 source files in 0.00s
[6/7] ️✅ Collected deps in 0.00s
[7/7] ️✅ Compiled 1 modules in 0.00s

✨ Finished Compilation in 0.00s
Expand Down
19 changes: 10 additions & 9 deletions tests/snapshots/rename-interface-file.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
[1/7] 🌴 Building package tree...[1/7] ️✅ Built package tree in 0.00s
[2/7] 🔍 Finding source files...Warning: No implementation file found for interface file (skipping): src/ModuleWithInterface2.resi
[2/7] ️✅ Found source files in 0.00s
[3/7] 🔍 Reading compile state...[3/7] ️✅ Read compile state 0.00s
[4/7] 🧹 Cleaning up previous build...[4/7] ️✅ Cleaned 1/10 0.00s
[5/7] ️✅ Parsed 1 source files in 0.00s
[6/7] ️✅ Collected deps in 0.00s
[7/7] ️✅ Compiled 1 modules in 0.00s
️✅ Finished Compilation in 0.00s
[1/7]🌴 Building package tree...[1/7] ️✅ Built package tree in 0.00s
[2/7] 🔍 Finding source files...Warning: No implementation file found for interface file (skipping): src/ModuleWithInterface2.resi
[2/7] ️✅ Found source files in 0.00s
[3/7] 🔍 Reading compile state...[3/7] ️✅ Read compile state 0.00s
[4/7] 🧹 Cleaning up previous build...[4/7] ️✅ Cleaned 1/10 0.00s
[5/7] ️✅ Parsed 1 source files in 0.00s
[6/7] ️✅ Collected deps in 0.00s
[7/7] ️✅ Compiled 1 modules in 0.00s

✨ Finished Compilation in 0.00s
Expand Down

0 comments on commit a6e9ec4

Please sign in to comment.