Open bsutton opened 3 years ago
The problem is that DartProject.current first calls Script.current.
When we are running in a unit test Script.current returns 'test.dart' which results in a bogus DartProject.
Need to review how we detect the project as we have several different operation modes:
From local source Compiled script Running under a unit test.
The problem is that DartProject.current first calls Script.current.
When we are running in a unit test Script.current returns 'test.dart' which results in a bogus DartProject.
Need to review how we detect the project as we have several different operation modes:
From local source Compiled script Running under a unit test.