A partir de esta conversación escribo este Gist.
Tenemos un almacen que tiene un stock por producto.
Regla de negocio:
- No podemos vender un producto que no tenemos stock.
A partir de esta conversación escribo este Gist.
Tenemos un almacen que tiene un stock por producto.
Regla de negocio:
package dev.aleixmorgadas; | |
import org.springframework.beans.factory.annotation.Autowired; | |
import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc; | |
import org.springframework.boot.test.context.SpringBootTest; | |
import org.springframework.boot.testcontainers.service.connection.ServiceConnection; | |
import org.springframework.test.web.servlet.MockMvc; | |
import org.testcontainers.containers.PostgreSQLContainer; | |
import org.testcontainers.junit.jupiter.Testcontainers; |
When you are using @storybook/vue3-vite
and you are wondering how to mock external modules, here an example.
In this case, I will mock the Auth0-vue module so that I can render components without problems.
:information: The files have a $
to represent a folder because /
it is not permited charater in a gitst
Open chromium.
Go to https://usevia.app/
You might see the error:
Vid: 0x3434
https://www.npmjs.com/package/pulsar-client
You might found an error like
...
ERR! install response status 404 Not Found on https://pulsar.apache.org/docs/en/client-libraries-cpp/libpulsar-v1.6.2-node-v93-darwin-arm64.tar.gz
...
I hereby claim:
To claim this, I am signing this object: