menu

CodeSandbox

CodeSandbox is an online editor built for web applications, here you can talk about it or share your work!

Channels
Team
Posts
Members
Info

Example of Jest with Snapshots

Hi, I am wondering if there's any examples of Jest with snapshot testing? When I have a test case with expect(..).toMatchSnapshot() I get the error e.getMockName is not a function If I manually put a snapshot file in, I see …

thumbsup
0
message-simple
6
·146d·Locked# General

Please use GitHub Discussions

We've now moved our discussions over to using GitHub Discussions instead of Spectrum. Please create any new topics on GitHub Discussions. Thanks.

thumbsup
0
message-simple
0

Is it possible to delete a template

I created a template without login and save it . I want to delete it ! Is it posssible?

thumbsup
0
message-simple
2
·160d·Watercooler# General

CodeSandbox Chat

thumbsup
0
message-simple
55

help

thumbsup
0
message-simple
1

Is it possible to keep my local in sync with a sandbox and Github through CLI?

Basically, say I am working on a project in SandBox form an existing Github repo, then I make changes to my local and I want to push those changes not only to Github but to the SandBox as well. Is it possible? Say I want to work while riding the train and will be loosing…

thumbsup
0
message-simple
2

How to create a custom generated sandbox from code/server/plugin/api ?

It is possible to send (post) a zip or a folder to create a custom sandbox (already set) like a template. But generated by code (from a server or a sketch plugin)? code + assets + css + svg and react jsx code ready to be animated...

thumbsup
0
message-simple
3
Deleted·210d# General

Question

can i embed a vue site on my other website. Thank you

thumbsup
0
message-simple
1
Deleted·210d# General

`Target container is not a DOM element.`? BUG

why does my codesandbox show this error? Target container is not a DOM element.? looks like a bug https://codesandbox.io/s/cocky-cohen-k2dtc

thumbsup
0
message-simple
1

Request entity too large

Hi there, I have a private sandbox that syncs with my private Github repo. When i've been saving files, I get the below error message. Which in turn, if i click the github icon in the menu bar, it is in a continous loop fetching files - so I don't then have the option to…

thumbsup
0
message-simple
6