You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 29, 2024. It is now read-only.
1) Test Suite
"before all" hook: Before all setup for "trigger only test":
Error: 9 FAILED_PRECONDITION: Firebase Terms of Service is not accepted. Navigate to your project's overview page on the Actions Console to accept the Terms of Service.
at Object.callErrorFromStatus (node_modules/@grpc/grpc-js/build/src/call.js:31:26)
at Object.onReceiveStatus (node_modules/@grpc/grpc-js/build/src/client.js:244:52)
at Object.onReceiveStatus (node_modules/@grpc/grpc-js/build/src/client-interceptors.js:336:141)
at Object.onReceiveStatus (node_modules/@grpc/grpc-js/build/src/client-interceptors.js:299:181)
at /home/pierre/Documents/edrlab/audiobooks/audiobooks/test/node_modules/@grpc/grpc-js/build/src/call-stream.js:145:78
at processTicksAndRejections (internal/process/task_queues.js:75:11)
any idea how to solve this issue ?
import'mocha';import{ActionsOnGoogleTestManager}from'@assistant/conversation-testing';constDEFAULT_LOCALE='en-US';constDEFAULT_SURFACE='PHONE';constPROJECT_ID='audiobooks-a';constTRIGGER_PHRASE='Parler avec audiobooks';describe('Test Suite',function(){// Set the timeout for each test run to 60s.this.timeout(60000);lettestManager: ActionsOnGoogleTestManager;before('Before all setup',async()=>{testManager=newActionsOnGoogleTestManager({projectId: PROJECT_ID});awaittestManager.writePreviewFromDraft();testManager.setSuiteLocale(DEFAULT_LOCALE);testManager.setSuiteSurface(DEFAULT_SURFACE);});it('trigger only test',async()=>{awaittestManager.sendQuery(TRIGGER_PHRASE);testManager.assertIntent('actions.intent.MAIN');// testManager.assertScene('Welcome');// testManager.assertSpeech('Welcome to Facts about Google!');});afterEach('post test cleans',async()=>{testManager.cleanUpAfterTest();});});
any idea how to solve this issue ?