Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
0 answers
33 views

I’m building a multi-service architecture with a shared Gradle setup. Here's how my project is structured: Root Gradle Project: Manages shared dependencies and configurations. Child Gradle Projects: ...
user avatar
0 votes
1 answer
95 views

I am having required maven jars at azure artifacts. From there, I have to use and execute my maven project which is java selenium project. I am going to run my maven project via azure pipelines. I ...
0 votes
1 answer
60 views

I am trying to unit test all of my API calls. Every call passes the test, but i still get an error saying: ✘ Timed out while running tests Failed to exit when running test.js. I have tried adding a ...
0 votes
1 answer
75 views

I'm encountering an issue with Sinon while running my tests in parallel mode using Ava. Whenever I run my tests with ava --parallel, I get the following error: beforeEach hook for myfile Error thrown ...
0 votes
0 answers
612 views

I'm currently working on implementing an Authorization Server using Spring Security OAuth. While configuring the OAuth server, I've encountered that the AuthorizationServerConfigurerAdapter class ...
1 vote
1 answer
34 views

I've been trying to test mongoose models using AVA. As validation errors tend not to be type errors I tried various things and came to this working way: The Model // Model // Require Mongoose ...
1 vote
0 answers
118 views

I want to test in AVA a method that use global "document", eg. export const blurActiveElement = (): void => { if (typeof window.focus === 'function') { window.focus(); } ...
ar099968's user avatar
  • 7,649
1 vote
0 answers
123 views

I have a JavaScript project where the frontend uses ES Modules (built with babel / webpack) and the backend uses CommonJS modules. All files use the .js extension. Given this mix and the file ...
0 votes
0 answers
285 views

I'm trying to develop a project on near blockchain. After writing the smart contract, I wanted to perform integration tests on it. But it failed. So I created a new project with the default rust code ...
1 vote
0 answers
470 views

I am trying to give the mock data in ClientProxy but I am keep on receiving null. It could be because of returning Observable. But I cannot figure it out how to properly mock the result. I am using ...
4 votes
3 answers
3k views

How do I mock or stub process.argv so that it can return a specific argument? I tried using Sinon.js like this: beforeEach( () => { sandbox.stub( process.argv.slice(2)[0], 'C:\\home\\...
0 votes
0 answers
112 views

I have a variable like this: const domain_issuer = "some array of domains" const url_setter = domain_issuer !== null ? domain_issuer[0] : ''; the domain_issuer is grabbing the domains from ...
3 votes
1 answer
280 views

I'm looking to test that a component has an opacity value of 0 after firing an event, I have not found how to get/check for a specific css property with enzyme (enzyme docs), is it even possible to do ...
sab's user avatar
  • 1,547
1 vote
1 answer
1k views

I'm running AVA test now and I have 3 positional arguments that will be passed when running the command. For example: npm test <arg1> <arg2> <arg3> But I wish to put the first 2 ...
37 votes
5 answers
124k views

I'm running a test called create admin. The test will first create admin, then check if the admin was created successfully. In the script, I have a part of code where I want to wait for 3 seconds ...

15 30 50 per page
1
2 3 4 5
...
15

AltStyle によって変換されたページ (->オリジナル) /