diff --git a/server.test.js b/server.test.js new file mode 100644 index 0000000..b858994 --- /dev/null +++ b/server.test.js @@ -0,0 +1,11 @@ +const test = require('node:test'); +const assert = require('node:assert/strict'); + +test('sample trivia question has the expected answer', () => { + const question = { + question: 'What is the capital of France?', + answer: 'Paris' + }; + + assert.equal(question.answer, 'Paris'); +}); \ No newline at end of file