import netlifyAdapter from '../../dist/index.js'; import { testIntegration, loadFixture } from './test-utils.js'; import { expect } from 'chai'; describe('Middleware', () => { it('with edge handle file, should successfully build the middleware', async () => { /** @type {import('./test-utils').Fixture} */ const fixture = await loadFixture({ root: new URL('./fixtures/middleware-with-handler-file/', import.meta.url).toString(), output: 'server', adapter: netlifyAdapter({ dist: new URL('./fixtures/middleware-with-handler-file/dist/', import.meta.url), edgeMiddleware: true, }), site: `http://example.com`, integrations: [testIntegration()], build: { excludeMiddleware: true, }, }); await fixture.build(); const contents = await fixture.readFile('../.netlify/edge-functions/edgeMiddleware.js'); expect(contents.includes('"Hello world"')).to.be.true; }); it('without edge handle file, should successfully build the middleware', async () => { /** @type {import('./test-utils').Fixture} */ const fixture = await loadFixture({ root: new URL('./fixtures/middleware-without-handler-file/', import.meta.url).toString(), output: 'server', adapter: netlifyAdapter({ dist: new URL('./fixtures/middleware-without-handler-file/dist/', import.meta.url), }), site: `http://example.com`, integrations: [testIntegration()], build: { excludeMiddleware: true, }, }); await fixture.build(); const contents = await fixture.readFile('../.netlify/edge-functions/edgeMiddleware.js'); expect(contents.includes('"Hello world"')).to.be.false; }); }); 8f6&follow=1'>diff
path: root/Source/Python/WarpX_py.cpp (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2019-09-30forgot to import python package reGravatar MaxThevenet 1-0/+1
2019-09-27typoGravatar MaxThevenet 1-1/+1
2019-09-27add NCI test with MRGravatar MaxThevenet 3-18/+51
2019-09-27Change the default gather buffer sizeGravatar Remi Lehe 2-9/+23
2019-09-26eol whitespaceGravatar MaxThevenet 1-1/+1
2019-09-26fix syntax for doxygen documentationGravatar MaxThevenet 1-1/+2
2019-09-26Warning: Unused Vars in PMLGravatar Axel Huebl 1-2/+0
Fix some unused variables on the PML implementation.
2019-09-26Added an automated test that does not use MPIGravatar Remi Lehe 1-0/+18
2019-09-26eol whitespaceGravatar MaxThevenet 2-19/+19
2019-09-26add commentsGravatar MaxThevenet 2-1/+20
2019-09-26use clearer argument namesGravatar MaxThevenet 2-125/+87
2019-09-26put NCI filter into a separate functionGravatar MaxThevenet 2-51/+88
2019-09-26fix types for RZGravatar Weiqun Zhang 1-3/+3
2019-09-26fix types, amrex::Real and amrex::ParticleRealGravatar Weiqun Zhang 38-347/+355
2019-09-26Resolving conflict in Source/Make.WarpX (#410)Gravatar Revathi Jambunathan 1-4/+0
* Changing the output directory for the boosted frame diag tests from lab_frame_diag/ to lab_frame_diag/snapshots/ * resolving a conflict in Source/Make.WarpX. Using lower case for libraries += -lhdf5 -lz * reverting path of labframe data files similar to that in the dev file.
2019-09-26Allow compilation of WarpX without MPIGravatar Remi Lehe 1-0/+4
2019-09-25Bug fix for plot_parallel.pyGravatar Dave Grote 1-1/+1
2019-09-25Use explicit floating point operationGravatar Remi Lehe 1-3/+3
2019-09-25fix EOL whitespacesGravatar MaxThevenet 1-1/+1
2019-09-25commentsGravatar MaxThevenet 1-1/+6
2019-09-25spacing between split particles depends on PPCGravatar MaxThevenet 1-10/+17
2019-09-24Doxygen: Update Generator FileGravatar Axel Huebl 1-2/+19
Recursively parse the whole project and add as many pre-defines as possible for maximum code discovery.
2019-09-24Added documentation for min_particles_per_modeGravatar Dave Grote 1-0/+5
2019-09-24Move temporary variables into functionGravatar Remi Lehe 3-11/+7
2019-09-24Updated Examples/Physics_applications/laser_acceleration/inputs.rzGravatar Dave Grote 1-4/+7
2019-09-24Fixed explicit value of pi in LaserParticleContainer.cppGravatar Dave Grote 1-1/+1
2019-09-24Fixed indentation in LaserParticleContainer.cppGravatar Dave Grote 1-97/+97
2019-09-24Fixed bug in AddNParticles with RZGravatar Dave Grote 1-1/+1
2019-09-24Fixed bug in RZ push of BxGravatar Dave Grote 1-6/+5
2019-09-24Add commentsGravatar Remi Lehe 3-10/+51
2019-09-24more print statements in automated test analysisGravatar MaxThevenet 5-2/+13
2019-09-24more useful print statements in analysis scriptsGravatar MaxThevenet 4-24/+26
2019-09-24increase tolerance for Langmuir testGravatar MaxThevenet 1-1/+1
2019-09-24dump fewer fields in Langmuir testsGravatar MaxThevenet 1-1/+1
2019-09-24compute aspect ratio in plot_parallel.pyGravatar MaxThevenet 1-2/+5
2019-09-23Remove trailing spaceGravatar Remi Lehe 1-1/+1
2019-09-23update the docGravatar MaxThevenet 1-3/+16
2019-09-23update example visualization notebookGravatar MaxThevenet 1-156/+55
2019-09-23use read_raw_data functions in tests instead of redefiningGravatar MaxThevenet 2-35/+2
2019-09-23fix and add commentsGravatar MaxThevenet 1-2/+8