apify-test-tools 0.9.0-beta.0 → 0.9.0-beta.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 +6 -6
- package/bin/utils.ts +6 -8
- package/dist/bin/utils.d.ts.map +1 -1
- package/dist/bin/utils.js +5 -5
- package/dist/bin/utils.js.map +1 -1
- package/dist/test/unit/bin/utils.test.js +3 -2
- package/dist/test/unit/bin/utils.test.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/test/unit/bin/utils.test.ts +3 -2
package/package.json
CHANGED
|
@@ -289,7 +289,7 @@ describe('readConfigFile', () => {
|
|
|
289
289
|
await expect(readConfigFile()).rejects.toThrow(/overlap/);
|
|
290
290
|
});
|
|
291
291
|
|
|
292
|
-
it('
|
|
292
|
+
it('adds the actor own folder automatically when overrideActorContext does not cover it', async () => {
|
|
293
293
|
mockFiles({
|
|
294
294
|
[CONFIG_FILE_NAME]: validConfig([
|
|
295
295
|
{
|
|
@@ -302,7 +302,8 @@ describe('readConfigFile', () => {
|
|
|
302
302
|
'actors/shopify/.actor/actor.json': actorJson({}),
|
|
303
303
|
});
|
|
304
304
|
|
|
305
|
-
await
|
|
305
|
+
const result = await readConfigFile();
|
|
306
|
+
expect(result[0].contextPaths).toEqual(['code', 'shared', 'actors/shopify']);
|
|
306
307
|
});
|
|
307
308
|
|
|
308
309
|
it('strips trailing slashes from folder and overrideActorContext entries', async () => {
|