mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-02-24 11:03:36 -05:00
Co-authored-by: Huyen Nguyen <25715018+huyenltnguyen@users.noreply.github.com> Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
14 lines
334 B
JavaScript
14 lines
334 B
JavaScript
const { readFileSync } = require('fs');
|
|
const path = require('path');
|
|
|
|
describe('challenge schema', () => {
|
|
it('Notify mobile team BEFORE updating snapshot', () => {
|
|
const schemaFile = readFileSync(
|
|
path.resolve(__dirname, './challenge-schema.js'),
|
|
'utf8'
|
|
);
|
|
|
|
expect(schemaFile).toMatchSnapshot();
|
|
});
|
|
});
|