This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 257860 - CC for non test modules in required Test modules
Summary: CC for non test modules in required Test modules
Status: NEW
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.1
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-05 08:22 UTC by Ondrej Brejla
Modified: 2016-02-05 08:27 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ondrej Brejla 2016-02-05 08:22:22 UTC
In a Spec file, in a define([]) method, if i invoke CC for requiring a path, then only modules from Test dir are suggested.

define([
    '^'
], function() {});

In dev build (e.g. 8 month ago), also common module dirs were suggested.

Doesn't work in 8.1patch1 either :(
Comment 1 Ondrej Brejla 2016-02-05 08:27:49 UTC
I meant "also common modules" of course, not just dirs ;)

It means that in CC there were e.g. 2 items for one path:

foo/bar/Baz
foo/bar/BazSpec

;)